Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1143/0.1143, allocations: 12.6 MB / 28.91 MB, free: 0.6367 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.001512/0.001512, allocations: 115.5 kB / 32.51 MB, free: 3.578 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.417/1.417, 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.001782/0.001782, allocations: 187.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.4635/0.4635, allocations: 78.51 MB / 420 MB, free: 11.26 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.002678/0.002678, allocations: 139.8 kB / 0.5566 GB, free: 28.57 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1544, allocations: 68.12 MB / 0.6231 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII): time 0.01394/0.1684, allocations: 13.84 MB / 0.6366 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008003/0.1764, allocations: 3.461 MB / 0.64 GB, free: 13.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002613/0.1791, allocations: 28 kB / 0.64 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002125/0.1812, allocations: 0.5576 MB / 0.6406 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005773/0.1871, allocations: 1.592 MB / 0.6421 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00379/0.1909, allocations: 1.515 MB / 0.6436 GB, free: 10.31 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005576/0.1965, allocations: 3.78 MB / 0.6473 GB, free: 6.512 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.1981, allocations: 0.9012 MB / 0.6482 GB, free: 5.562 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.2006, allocations: 1.556 MB / 0.6497 GB, free: 4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.2036, allocations: 1.983 MB / 0.6516 GB, free: 2.008 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.2046, allocations: 296 kB / 0.6519 GB, free: 1.719 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.2062, allocations: 431.9 kB / 0.6523 GB, free: 1.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.2072, allocations: 0.774 MB / 0.6531 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002348/0.2096, allocations: 1.643 MB / 0.6547 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005083/0.2147, allocations: 4.024 MB / 0.6586 GB, free: 10.83 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2147, allocations: 7.984 kB / 0.6586 GB, free: 10.82 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2147, allocations: 0 / 0.6586 GB, free: 10.82 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001476/0.2149, allocations: 0 / 0.6586 GB, free: 10.82 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.0251/0.24, allocations: 6.633 MB / 0.6651 GB, free: 4.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.24, allocations: 15.98 kB / 0.6651 GB, free: 4.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01572/0.2558, allocations: 2.282 MB / 0.6673 GB, free: 1.785 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/0.2603, allocations: 1.898 MB / 0.6692 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008512/0.2612, allocations: 0.733 MB / 0.6699 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006921/0.2619, allocations: 216 kB / 0.6701 GB, free: 14.76 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007243/0.2691, allocations: 3.047 MB / 0.6731 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.2692, allocations: 4 kB / 0.6731 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.2695, allocations: 83.94 kB / 0.6732 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-05/0.2695, allocations: 52 kB / 0.6732 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006515/0.2761, allocations: 2.796 MB / 0.676 GB, free: 8.688 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.01983/0.2959, allocations: 9.86 MB / 0.6856 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.3075, allocations: 4.196 MB / 0.6897 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/0.312, allocations: 1.976 MB / 0.6916 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.3123, allocations: 45.95 kB / 0.6917 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004977/0.3172, allocations: 2.244 MB / 0.6939 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 6.883e-06/0.3173, allocations: 0 / 0.6939 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=249): time 0.4776/0.7948, allocations: 27.41 MB / 0.7206 GB, free: 80.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.333e-05/0.795, allocations: 186.1 kB / 0.7208 GB, free: 80.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004509/0.7995, allocations: 2.311 MB / 0.7231 GB, free: 80.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007318/0.8002, allocations: 73.33 kB / 0.7231 GB, free: 80.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009409/0.8012, allocations: 1.181 MB / 0.7243 GB, free: 79.98 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009789/0.8022, allocations: 0.8789 MB / 0.7251 GB, free: 79.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/0.8034, allocations: 0.5611 MB / 0.7257 GB, free: 79.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.094e-05/0.8034, allocations: 310.1 kB / 0.726 GB, free: 78.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004518/0.8079, allocations: 1.971 MB / 0.7279 GB, free: 78.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004961/0.8129, allocations: 2.339 MB / 0.7302 GB, free: 77.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05568/0.8686, allocations: 14.25 MB / 0.7441 GB, free: 71.49 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.1e-05/0.8687, allocations: 3.812 kB / 0.7441 GB, free: 71.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.0414/0.9101, allocations: 12.54 MB / 0.7564 GB, free: 62.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.9103, allocations: 110.8 kB / 0.7565 GB, free: 62.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.762e-05/0.9103, allocations: 11.98 kB / 0.7565 GB, free: 62.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01722/0.9275, allocations: 5.261 MB / 0.7616 GB, free: 57.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003492/0.9311, allocations: 0.5929 MB / 0.7622 GB, free: 56.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05957/0.9907, allocations: 23.16 MB / 0.7848 GB, free: 33.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005137/0.9959, allocations: 489.1 kB / 0.7853 GB, free: 32.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007352/0.9966, allocations: 116 kB / 0.7854 GB, free: 32.62 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 Syn2.delta:VARIABLE(flow=false start = Syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Syn2.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 (334): * Single equations (assignments): 329 * 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.001927/0.9986, allocations: 0.5391 MB / 0.7859 GB, free: 32.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000965/0.9995, allocations: 304.2 kB / 0.7862 GB, free: 31.76 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04025/1.04, allocations: 11.93 MB / 0.7979 GB, free: 19.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001129/1.04, allocations: 11.95 kB / 0.7979 GB, free: 19.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.04, allocations: 2.812 kB / 0.7979 GB, free: 19.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/1.042, allocations: 421.7 kB / 0.7983 GB, free: 19.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00158/1.043, allocations: 48 kB / 0.7983 GB, free: 19.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/1.047, allocations: 299.6 kB / 0.7986 GB, free: 18.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004849/1.052, allocations: 1.418 MB / 0.8 GB, free: 17.54 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01776/1.07, allocations: 5.937 MB / 0.8058 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01223/1.082, allocations: 5.946 MB / 0.8116 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003579/1.085, allocations: 1.624 MB / 0.8132 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002699/1.088, allocations: 1.527 MB / 0.8147 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of Backend: time 2.264e-06/1.088, allocations: 0 / 0.8147 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01685/1.105, allocations: 5.118 MB / 0.8197 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01096/1.116, allocations: 6.346 MB / 0.8259 GB, free: 6.793 MB / 0.5294 GB Notification: Performance of Templates: time 0.1011/1.217, allocations: 59.24 MB / 0.8837 GB, free: 11.59 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)