Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.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.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08219/0.08219, allocations: 12.6 MB / 28.91 MB, free: 0.6289 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.001296/0.001296, allocations: 111.5 kB / 32.51 MB, free: 3.566 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.448/1.448, allocations: 205.1 MB / 241.1 MB, free: 12.37 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.001635/0.001635, allocations: 192.4 kB / 291.4 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4519/0.4519, allocations: 78.52 MB / 420 MB, free: 11.29 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.002648/0.002648, allocations: 142.9 kB / 0.5566 GB, free: 28.59 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1354, allocations: 68.12 MB / 0.6231 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01287/0.1483, allocations: 13.73 MB / 0.6365 GB, free: 1.609 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008964/0.1573, allocations: 3.442 MB / 0.6399 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/0.1608, allocations: 28 kB / 0.6399 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002424/0.1633, allocations: 0.5576 MB / 0.6404 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006413/0.1697, allocations: 1.568 MB / 0.642 GB, free: 12 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4_1.xq <> order4_1.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.004776/0.1745, allocations: 1.518 MB / 0.6435 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006559/0.1811, allocations: 3.725 MB / 0.6471 GB, free: 6.758 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.1829, allocations: 0.8934 MB / 0.648 GB, free: 5.816 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002927/0.1858, allocations: 1.536 MB / 0.6495 GB, free: 4.273 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/0.1891, allocations: 1.952 MB / 0.6514 GB, free: 2.312 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.1904, allocations: 284 kB / 0.6517 GB, free: 2.035 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.1922, allocations: 431.9 kB / 0.6521 GB, free: 1.613 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.1935, allocations: 0.7624 MB / 0.6528 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002997/0.1965, allocations: 1.627 MB / 0.6544 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00584/0.2024, allocations: 3.974 MB / 0.6583 GB, free: 11.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2024, allocations: 0 / 0.6583 GB, free: 11.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2024, allocations: 0 / 0.6583 GB, free: 11.22 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.647e-05/0.2025, allocations: 0 / 0.6583 GB, free: 11.22 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.0253/0.2278, allocations: 6.575 MB / 0.6647 GB, free: 4.551 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.2279, allocations: 11.98 kB / 0.6647 GB, free: 4.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.2437, allocations: 2.275 MB / 0.6669 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/0.2489, allocations: 1.882 MB / 0.6688 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009501/0.2499, allocations: 0.7174 MB / 0.6695 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.251, allocations: 220 kB / 0.6697 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008138/0.2592, allocations: 3.032 MB / 0.6726 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.2592, allocations: 0 / 0.6726 GB, free: 12.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003875/0.2596, allocations: 87.94 kB / 0.6727 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.2597, allocations: 52 kB / 0.6728 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/0.2659, allocations: 2.784 MB / 0.6755 GB, free: 9.215 MB / 494.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.02075/0.2867, allocations: 9.809 MB / 0.6851 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0116/0.2983, allocations: 4.196 MB / 0.6892 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004723/0.3031, allocations: 1.956 MB / 0.6911 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000373/0.3035, allocations: 49.86 kB / 0.6911 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005662/0.3091, allocations: 2.236 MB / 0.6933 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 1.098e-05/0.3092, allocations: 3.938 kB / 0.6933 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.4673/0.7765, allocations: 27.29 MB / 0.72 GB, free: 80.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.7766, allocations: 192 kB / 0.7201 GB, free: 80.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004649/0.7813, allocations: 2.271 MB / 0.7224 GB, free: 80.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0008203/0.7821, allocations: 74.22 kB / 0.7224 GB, free: 80.03 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.7832, allocations: 1.161 MB / 0.7236 GB, free: 79.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/0.7843, allocations: 0.8801 MB / 0.7244 GB, free: 79.16 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.7856, allocations: 0.558 MB / 0.725 GB, free: 78.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.931e-05/0.7856, allocations: 302.3 kB / 0.7253 GB, free: 78.61 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004765/0.7904, allocations: 1.953 MB / 0.7272 GB, free: 77.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004855/0.7953, allocations: 2.315 MB / 0.7294 GB, free: 76.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.056/0.8513, allocations: 14.04 MB / 0.7431 GB, free: 71.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.169e-05/0.8514, allocations: 7 kB / 0.7431 GB, free: 71.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.03994/0.8913, allocations: 12.5 MB / 0.7554 GB, free: 63.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.362e-05/0.8915, allocations: 119.4 kB / 0.7555 GB, free: 63.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.8915, allocations: 4 kB / 0.7555 GB, free: 63.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01691/0.9084, allocations: 5.287 MB / 0.7606 GB, free: 58.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/0.9116, allocations: 0.5695 MB / 0.7612 GB, free: 57.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05538/0.967, allocations: 23.16 MB / 0.7838 GB, free: 34.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004609/0.9717, allocations: 0.4892 MB / 0.7843 GB, free: 33.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.972, allocations: 108 kB / 0.7844 GB, free: 33.88 MB / 0.5137 GB Warning: Assuming fixed start value for the following 7 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order4_1.delta:VARIABLE(flow=false start = order4_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 325 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(63,25,8.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001252/0.9733, allocations: 0.5338 MB / 0.7849 GB, free: 33.33 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005351/0.9738, allocations: 296.3 kB / 0.7852 GB, free: 33.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03807/1.012, allocations: 11.9 MB / 0.7968 GB, free: 21.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.721e-05/1.012, allocations: 17.81 kB / 0.7968 GB, free: 21.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.012, allocations: 3.984 kB / 0.7968 GB, free: 21.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.013, allocations: 404.7 kB / 0.7972 GB, free: 20.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007259/1.014, allocations: 52 kB / 0.7973 GB, free: 20.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.017, allocations: 300.5 kB / 0.7976 GB, free: 20.31 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003883/1.021, allocations: 1.41 MB / 0.7989 GB, free: 18.9 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01516/1.036, allocations: 5.89 MB / 0.8047 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01107/1.047, allocations: 5.895 MB / 0.8104 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003334/1.05, allocations: 1.612 MB / 0.812 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001918/1.052, allocations: 1.499 MB / 0.8135 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of Backend: time 6.01e-07/1.052, allocations: 1.406 kB / 0.8135 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.067, allocations: 5.106 MB / 0.8185 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of SimCode: time 0.007547/1.075, allocations: 6.269 MB / 0.8246 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of Templates: time 0.08606/1.161, allocations: 58.64 MB / 0.8819 GB, free: 13.87 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)