Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07715/0.07715, allocations: 12.61 MB / 28.91 MB, free: 0.6016 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.0009987/0.0009987, allocations: 111.5 kB / 32.51 MB, free: 3.543 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.342/1.342, 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.001359/0.001359, allocations: 188.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4358/0.4358, allocations: 78.51 MB / 420 MB, free: 11.27 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.00256/0.00256, allocations: 146.4 kB / 0.5565 GB, free: 28.61 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1074, allocations: 68.12 MB / 0.6231 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006554/0.1139, allocations: 6.616 MB / 0.6295 GB, free: 8.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003239/0.1172, allocations: 1.92 MB / 0.6314 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.1176, allocations: 19.88 kB / 0.6314 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.1182, allocations: 238 kB / 0.6316 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1199, allocations: 0.8546 MB / 0.6325 GB, free: 5.715 MB / 446.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.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.121, allocations: 0.6311 MB / 0.6331 GB, free: 5.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1224, allocations: 1.592 MB / 0.6347 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000427/0.1228, allocations: 314.5 kB / 0.635 GB, free: 3.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006551/0.1235, allocations: 0.6613 MB / 0.6356 GB, free: 2.508 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007844/0.1243, allocations: 0.8206 MB / 0.6364 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.1244, allocations: 124 kB / 0.6365 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004267/0.1249, allocations: 255.9 kB / 0.6368 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.1251, allocations: 334.6 kB / 0.6371 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.1257, allocations: 0.668 MB / 0.6377 GB, free: 320 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.1271, allocations: 1.662 MB / 0.6394 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1271, allocations: 0 / 0.6394 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1271, allocations: 3.938 kB / 0.6394 GB, free: 14.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.1271, allocations: 8 kB / 0.6394 GB, free: 14.63 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008605/0.1357, allocations: 2.672 MB / 0.642 GB, free: 11.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1358, allocations: 19.86 kB / 0.642 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.1409, allocations: 0.7826 MB / 0.6428 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.1423, allocations: 0.8824 MB / 0.6436 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.1426, allocations: 260.2 kB / 0.6439 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.1428, allocations: 88 kB / 0.644 GB, free: 9.773 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.145, allocations: 1.09 MB / 0.645 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.145, allocations: 3.984 kB / 0.645 GB, free: 8.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.99e-05/0.1451, allocations: 32 kB / 0.6451 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1451, allocations: 16 kB / 0.6451 GB, free: 8.621 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.1472, allocations: 0.9838 MB / 0.646 GB, free: 7.637 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.006337/0.1536, allocations: 3.808 MB / 0.6497 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007635/0.1612, allocations: 2.369 MB / 0.6521 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.1627, allocations: 0.6762 MB / 0.6527 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-05/0.1628, allocations: 16.98 kB / 0.6527 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001714/0.1645, allocations: 0.8177 MB / 0.6535 GB, free: 15.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.948e-06/0.1645, allocations: 0 / 0.6535 GB, free: 15.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02971/0.1942, allocations: 7.081 MB / 0.6605 GB, free: 8.512 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.1943, allocations: 115.8 kB / 0.6606 GB, free: 8.375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.1961, allocations: 1.087 MB / 0.6616 GB, free: 7.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.1963, allocations: 45.7 kB / 0.6617 GB, free: 7.223 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003883/0.1967, allocations: 492.8 kB / 0.6621 GB, free: 6.734 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.1971, allocations: 359 kB / 0.6625 GB, free: 6.379 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005794/0.1977, allocations: 291.4 kB / 0.6628 GB, free: 6.09 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.1978, allocations: 305.1 kB / 0.663 GB, free: 5.789 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001689/0.1995, allocations: 0.7613 MB / 0.6638 GB, free: 5.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.2013, allocations: 0.9343 MB / 0.6647 GB, free: 4.051 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02468/0.226, allocations: 5.579 MB / 0.6702 GB, free: 14.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.2261, allocations: 0 / 0.6702 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0146/0.2407, allocations: 4.343 MB / 0.6744 GB, free: 10.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.2408, allocations: 59.41 kB / 0.6745 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.2408, allocations: 4 kB / 0.6745 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005765/0.2466, allocations: 1.504 MB / 0.6759 GB, free: 8.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.2481, allocations: 295.6 kB / 0.6762 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.2689, allocations: 8.261 MB / 0.6843 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.2708, allocations: 198.8 kB / 0.6845 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.271, allocations: 63.97 kB / 0.6845 GB, free: 15.46 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006652/0.2717, allocations: 300.3 kB / 0.6848 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.272, allocations: 134.3 kB / 0.6849 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.2854, allocations: 3.877 MB / 0.6887 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.2855, allocations: 3.984 kB / 0.6887 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2855, allocations: 0 / 0.6887 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.2859, allocations: 223.3 kB / 0.6889 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/0.2862, allocations: 23.98 kB / 0.689 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.2874, allocations: 103.9 kB / 0.6891 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/0.2885, allocations: 436.3 kB / 0.6895 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006535/0.295, allocations: 2.228 MB / 0.6917 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004549/0.2996, allocations: 2.269 MB / 0.6939 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001327/0.3009, allocations: 0.5739 MB / 0.6944 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001127/0.302, allocations: 0.7196 MB / 0.6951 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of Backend: time 5.61e-07/0.3021, allocations: 4 kB / 0.6951 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006135/0.3082, allocations: 2.086 MB / 0.6972 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003452/0.3117, allocations: 2.898 MB / 0.7 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.2588/0.5705, allocations: 22.61 MB / 0.7221 GB, free: 86.83 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)