Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07415/0.07415, allocations: 12.61 MB / 28.91 MB, free: 0.6172 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 111.5 kB / 32.51 MB, free: 3.559 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.1 MB / 241.1 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 191.3 kB / 291.4 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4304/0.4304, allocations: 78.52 MB / 420 MB, free: 11.25 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 138.8 kB / 0.5565 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1162, allocations: 68.12 MB / 0.623 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network): time 0.006172/0.1224, allocations: 5.489 MB / 0.6284 GB, free: 9.945 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.1258, allocations: 1.775 MB / 0.6301 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003564/0.1262, allocations: 8 kB / 0.6301 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004571/0.1266, allocations: 174.5 kB / 0.6303 GB, free: 7.98 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001516/0.1281, allocations: 0.7191 MB / 0.631 GB, free: 7.262 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009749/0.1291, allocations: 0.4983 MB / 0.6315 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001216/0.1304, allocations: 1.265 MB / 0.6327 GB, free: 5.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.1308, allocations: 258.4 kB / 0.633 GB, free: 5.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006001/0.1314, allocations: 0.5097 MB / 0.6335 GB, free: 4.715 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006825/0.1321, allocations: 0.6301 MB / 0.6341 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.1322, allocations: 120 kB / 0.6342 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004496/0.1327, allocations: 267.8 kB / 0.6345 GB, free: 3.703 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.1329, allocations: 263 kB / 0.6347 GB, free: 3.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004793/0.1334, allocations: 0.5362 MB / 0.6352 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1349, allocations: 1.515 MB / 0.6367 GB, free: 1.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1349, allocations: 4 kB / 0.6367 GB, free: 1.383 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1349, allocations: 0 / 0.6367 GB, free: 1.383 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.1349, allocations: 0 / 0.6367 GB, free: 1.383 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.005925/0.1408, allocations: 1.909 MB / 0.6386 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.1409, allocations: 11.98 kB / 0.6386 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00355/0.1445, allocations: 0.5303 MB / 0.6391 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1456, allocations: 0.721 MB / 0.6398 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.1458, allocations: 205.8 kB / 0.64 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.146, allocations: 71.84 kB / 0.6401 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.1477, allocations: 0.8423 MB / 0.6409 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.1478, allocations: 0 / 0.6409 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.1478, allocations: 24 kB / 0.6409 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1479, allocations: 12 kB / 0.6409 GB, free: 12.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.1495, allocations: 0.7274 MB / 0.6417 GB, free: 12.19 MB / 462.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.005429/0.1549, allocations: 3.169 MB / 0.6447 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01391/0.1688, allocations: 2.99 MB / 0.6477 GB, free: 5.828 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.1701, allocations: 0.5055 MB / 0.6482 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.87e-05/0.1702, allocations: 8.547 kB / 0.6482 GB, free: 5.316 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.1703, allocations: 39.12 kB / 0.6482 GB, free: 5.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=69): time 3.767e-06/0.1703, allocations: 0 / 0.6482 GB, free: 5.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=69): time 0.01356/0.1838, allocations: 3.598 MB / 0.6517 GB, free: 1.598 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.1839, allocations: 81.67 kB / 0.6518 GB, free: 1.5 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1851, allocations: 0.8017 MB / 0.6526 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.1853, allocations: 37.7 kB / 0.6526 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.1856, allocations: 400.3 kB / 0.653 GB, free: 256 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.1859, allocations: 256.4 kB / 0.6532 GB, free: 15.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.1863, allocations: 190.8 kB / 0.6534 GB, free: 15.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1864, allocations: 349.9 kB / 0.6538 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.1876, allocations: 0.5643 MB / 0.6543 GB, free: 14.89 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.189, allocations: 0.6812 MB / 0.655 GB, free: 14.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01963/0.2086, allocations: 4.096 MB / 0.659 GB, free: 10.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.2086, allocations: 0 / 0.659 GB, free: 10.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008349/0.217, allocations: 2.583 MB / 0.6615 GB, free: 7.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.2171, allocations: 8 kB / 0.6615 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.2171, allocations: 0 / 0.6615 GB, free: 7.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004657/0.2217, allocations: 1.095 MB / 0.6626 GB, free: 6.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009827/0.2227, allocations: 171.8 kB / 0.6627 GB, free: 6.172 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.2349, allocations: 5.357 MB / 0.668 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.2363, allocations: 123 kB / 0.6681 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.2364, allocations: 39.92 kB / 0.6681 GB, free: 0.5039 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.001555/0.238, allocations: 0.725 MB / 0.6688 GB, free: 15.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001242/0.2392, allocations: 0.6656 MB / 0.6695 GB, free: 15.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01904/0.2583, allocations: 4.057 MB / 0.6734 GB, free: 11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.509e-06/0.2583, allocations: 0 / 0.6734 GB, free: 11 MB / 494.1 MB Notification: Performance of matching and sorting (n=130) (initialization_lambda0): time 0.008324/0.2666, allocations: 2.559 MB / 0.6759 GB, free: 8.422 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.2667, allocations: 8.188 kB / 0.6759 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2667, allocations: 0 / 0.6759 GB, free: 8.414 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004547/0.2712, allocations: 1.095 MB / 0.677 GB, free: 7.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009456/0.2722, allocations: 167.7 kB / 0.6772 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.2847, allocations: 5.371 MB / 0.6824 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.2863, allocations: 119.3 kB / 0.6825 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.2865, allocations: 39.98 kB / 0.6826 GB, free: 1.465 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.0004919/0.287, allocations: 224.2 kB / 0.6828 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.2873, allocations: 90.81 kB / 0.6829 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.2943, allocations: 2.12 MB / 0.6849 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.2943, allocations: 3.984 kB / 0.685 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.2944, allocations: 0 / 0.685 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/0.2946, allocations: 191.7 kB / 0.6851 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.2948, allocations: 16 kB / 0.6851 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000901/0.2957, allocations: 59.94 kB / 0.6852 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/0.2962, allocations: 192.4 kB / 0.6854 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005257/0.3014, allocations: 1.545 MB / 0.6869 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003379/0.3048, allocations: 1.653 MB / 0.6885 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009669/0.3058, allocations: 429 kB / 0.6889 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007674/0.3066, allocations: 0.542 MB / 0.6895 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of Backend: time 6.11e-07/0.3066, allocations: 0 / 0.6895 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008951/0.3156, allocations: 3.123 MB / 0.6925 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003108/0.3187, allocations: 2.289 MB / 0.6947 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of Templates: time 0.3104/0.6292, allocations: 24.8 MB / 0.719 GB, free: 86.93 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.DAEMode.SMIB_Examples.Example_1Mod.Network.pipe 2>&1)