Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001115, allocations: 111.1 kB / 16.41 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 240.1 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 188.5 kB / 290.4 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4416/0.4416, allocations: 78.53 MB / 419.1 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 79.88 kB / 0.5543 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2662, allocations: 68.17 MB / 0.6209 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.004451/0.2707, allocations: 5.429 MB / 0.6262 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2729, allocations: 1.797 MB / 0.6279 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.2731, allocations: 8 kB / 0.6279 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.2735, allocations: 182.5 kB / 0.6281 GB, free: 2.789 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001165/0.2747, allocations: 0.7127 MB / 0.6288 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.2754, allocations: 0.5134 MB / 0.6293 GB, free: 1.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007697/0.2762, allocations: 1.257 MB / 0.6305 GB, free: 312 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.2765, allocations: 266.4 kB / 0.6308 GB, free: 28 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.277, allocations: 0.5097 MB / 0.6313 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006929/0.2777, allocations: 0.6341 MB / 0.6319 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.2779, allocations: 116 kB / 0.632 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004232/0.2783, allocations: 251.9 kB / 0.6322 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.2786, allocations: 278.9 kB / 0.6325 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004334/0.279, allocations: 0.5284 MB / 0.633 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.2804, allocations: 1.523 MB / 0.6345 GB, free: 12.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2804, allocations: 0 / 0.6345 GB, free: 12.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2804, allocations: 0 / 0.6345 GB, free: 12.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.2805, allocations: 0 / 0.6345 GB, free: 12.19 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.005651/0.2861, allocations: 1.943 MB / 0.6364 GB, free: 10.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.2862, allocations: 8.031 kB / 0.6364 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003476/0.2896, allocations: 0.5388 MB / 0.6369 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.2907, allocations: 0.7217 MB / 0.6377 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002217/0.2909, allocations: 213.8 kB / 0.6379 GB, free: 8.641 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.2911, allocations: 64 kB / 0.6379 GB, free: 8.574 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.2927, allocations: 0.8423 MB / 0.6387 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.2927, allocations: 0 / 0.6387 GB, free: 7.719 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.053e-05/0.2928, allocations: 23.94 kB / 0.6388 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.2928, allocations: 16 kB / 0.6388 GB, free: 7.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.2944, allocations: 0.7235 MB / 0.6395 GB, free: 6.953 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005196/0.2996, allocations: 3.174 MB / 0.6426 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.3125, allocations: 2.985 MB / 0.6455 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3135, allocations: 0.5022 MB / 0.646 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.908e-05/0.3136, allocations: 8.562 kB / 0.646 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.3137, allocations: 39.12 kB / 0.646 GB, free: 36 kB / 446.1 MB Notification: Performance of pre-optimization done (n=69): time 2.165e-06/0.3137, allocations: 0 / 0.646 GB, free: 36 kB / 446.1 MB Notification: Performance of matching and sorting (n=69): time 0.01274/0.3264, allocations: 3.602 MB / 0.6496 GB, free: 12.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.3265, allocations: 85.67 kB / 0.6496 GB, free: 12.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/0.3275, allocations: 0.8056 MB / 0.6504 GB, free: 11.44 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.3276, allocations: 33.7 kB / 0.6505 GB, free: 11.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.3279, allocations: 404.9 kB / 0.6508 GB, free: 11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.3281, allocations: 261.8 kB / 0.6511 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/0.3285, allocations: 194.8 kB / 0.6513 GB, free: 10.55 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.3286, allocations: 349.9 kB / 0.6516 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.3298, allocations: 0.5682 MB / 0.6522 GB, free: 9.625 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.3311, allocations: 0.6772 MB / 0.6528 GB, free: 8.918 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01879/0.3499, allocations: 4.092 MB / 0.6568 GB, free: 4.801 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3499, allocations: 0 / 0.6568 GB, free: 4.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.007729/0.3577, allocations: 2.591 MB / 0.6593 GB, free: 2.195 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.3577, allocations: 8 kB / 0.6594 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.3577, allocations: 3.938 kB / 0.6594 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004295/0.362, allocations: 1.086 MB / 0.6604 GB, free: 1.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.3629, allocations: 175.7 kB / 0.6606 GB, free: 0.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/0.3744, allocations: 5.37 MB / 0.6658 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.3755, allocations: 123.3 kB / 0.666 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.724e-05/0.3756, allocations: 39.98 kB / 0.666 GB, free: 11.24 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001441/0.3771, allocations: 0.7173 MB / 0.6667 GB, free: 10.52 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001231/0.3783, allocations: 0.6695 MB / 0.6673 GB, free: 9.82 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01835/0.3967, allocations: 4.057 MB / 0.6713 GB, free: 5.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.526e-06/0.3967, allocations: 0 / 0.6713 GB, free: 5.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.007605/0.4043, allocations: 2.56 MB / 0.6738 GB, free: 3.16 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4043, allocations: 11.94 kB / 0.6738 GB, free: 3.148 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4044, allocations: 4 kB / 0.6738 GB, free: 3.145 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004289/0.4087, allocations: 1.092 MB / 0.6749 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.4095, allocations: 167.9 kB / 0.675 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.4209, allocations: 5.369 MB / 0.6803 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.422, allocations: 119.4 kB / 0.6804 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/0.4221, allocations: 35.98 kB / 0.6804 GB, free: 12.21 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.order6.delta:VARIABLE(flow=false start = G1.order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (breaker.Open) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(9,15,45.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.4224, allocations: 228.2 kB / 0.6807 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.4226, allocations: 99.31 kB / 0.6807 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006499/0.4291, allocations: 2.116 MB / 0.6828 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4291, allocations: 3.984 kB / 0.6828 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.4291, allocations: 0 / 0.6828 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.4293, allocations: 192.3 kB / 0.683 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.4295, allocations: 12 kB / 0.683 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007878/0.4303, allocations: 67.92 kB / 0.6831 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/0.4307, allocations: 188.4 kB / 0.6833 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005037/0.4358, allocations: 1.552 MB / 0.6848 GB, free: 7.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003238/0.439, allocations: 1.666 MB / 0.6864 GB, free: 6.02 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009301/0.44, allocations: 421 kB / 0.6868 GB, free: 5.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006745/0.4407, allocations: 0.5381 MB / 0.6873 GB, free: 5.074 MB / 494.1 MB Notification: Performance of Backend: time 9.82e-07/0.4407, allocations: 4 kB / 0.6873 GB, free: 5.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008067/0.4487, allocations: 3.146 MB / 0.6904 GB, free: 1.805 MB / 494.1 MB Notification: Performance of SimCode: time 0.002636/0.4514, allocations: 2.321 MB / 0.6927 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.03664/0.488, allocations: 24.79 MB / 0.7169 GB, free: 6.676 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)