Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09249/0.09249, allocations: 12.6 MB / 28.91 MB, free: 0.6055 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.001345/0.001345, allocations: 103.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.569/1.569, 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.001454/0.001454, allocations: 192.5 kB / 291.4 MB, free: 13.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4541/0.4541, allocations: 78.52 MB / 420 MB, free: 11.23 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.00267/0.00267, allocations: 142.8 kB / 0.5566 GB, free: 28.8 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1629, allocations: 68.14 MB / 0.6231 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.01366/0.1766, allocations: 13.62 MB / 0.6364 GB, free: 1.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00888/0.1856, allocations: 3.43 MB / 0.6398 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.1884, allocations: 28 kB / 0.6398 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1899, allocations: 0.5615 MB / 0.6404 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004509/0.1945, allocations: 1.57 MB / 0.6419 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003416/0.1979, allocations: 1.504 MB / 0.6434 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004806/0.2027, allocations: 3.722 MB / 0.647 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/0.204, allocations: 0.9012 MB / 0.6479 GB, free: 5.988 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.2061, allocations: 1.528 MB / 0.6494 GB, free: 4.453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.2084, allocations: 1.956 MB / 0.6513 GB, free: 2.488 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004294/0.2088, allocations: 284 kB / 0.6515 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000861/0.2097, allocations: 427.9 kB / 0.652 GB, free: 1.793 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.2103, allocations: 0.7624 MB / 0.6527 GB, free: 1.027 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.2118, allocations: 1.627 MB / 0.6543 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.216, allocations: 3.998 MB / 0.6582 GB, free: 11.38 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.216, allocations: 0 / 0.6582 GB, free: 11.38 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.216, allocations: 0 / 0.6582 GB, free: 11.38 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.071e-05/0.216, allocations: 0 / 0.6582 GB, free: 11.38 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: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.02127/0.2373, allocations: 6.685 MB / 0.6647 GB, free: 4.59 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.2374, allocations: 15.98 kB / 0.6647 GB, free: 4.574 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.2514, allocations: 2.281 MB / 0.667 GB, free: 2.289 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.2546, allocations: 1.912 MB / 0.6688 GB, free: 320 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007115/0.2553, allocations: 0.7252 MB / 0.6695 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003889/0.2557, allocations: 208 kB / 0.6697 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005932/0.2617, allocations: 3.035 MB / 0.6727 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.2617, allocations: 0 / 0.6727 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.262, allocations: 87.94 kB / 0.6728 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.262, allocations: 48 kB / 0.6728 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005791/0.2678, allocations: 2.784 MB / 0.6756 GB, free: 9.223 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.0186/0.2864, allocations: 9.811 MB / 0.6851 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01055/0.297, allocations: 4.18 MB / 0.6892 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/0.3011, allocations: 1.964 MB / 0.6911 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.3014, allocations: 45.95 kB / 0.6912 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004448/0.3059, allocations: 2.224 MB / 0.6933 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=247): time 4.849e-06/0.3059, allocations: 0 / 0.6933 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=247): time 0.4748/0.7807, allocations: 29.47 MB / 0.7221 GB, free: 82.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.7809, allocations: 180.8 kB / 0.7223 GB, free: 82.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003964/0.7848, allocations: 2.289 MB / 0.7245 GB, free: 82.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005995/0.7854, allocations: 71.2 kB / 0.7246 GB, free: 82.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/0.7862, allocations: 1.19 MB / 0.7258 GB, free: 81.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008331/0.7871, allocations: 0.91 MB / 0.7267 GB, free: 80.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.7881, allocations: 0.5535 MB / 0.7272 GB, free: 80.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.8e-05/0.7882, allocations: 314.2 kB / 0.7275 GB, free: 80.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/0.7923, allocations: 1.945 MB / 0.7294 GB, free: 79.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004515/0.7968, allocations: 2.312 MB / 0.7317 GB, free: 78.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04979/0.8466, allocations: 14 MB / 0.7453 GB, free: 72.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-05/0.8467, allocations: 0 / 0.7453 GB, free: 72.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=413) (initialization): time 0.03522/0.8819, allocations: 12.3 MB / 0.7573 GB, free: 62.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-05/0.882, allocations: 118.8 kB / 0.7575 GB, free: 62.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.882, allocations: 12 kB / 0.7575 GB, free: 62.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01571/0.8978, allocations: 5.31 MB / 0.7626 GB, free: 57.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.9006, allocations: 0.5578 MB / 0.7632 GB, free: 56.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05174/0.9524, allocations: 23.52 MB / 0.7862 GB, free: 33.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004374/0.9568, allocations: 493.9 kB / 0.7866 GB, free: 32.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/0.9572, allocations: 123.2 kB / 0.7867 GB, free: 32.43 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 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 order3_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 (325): * Single equations (assignments): 320 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001205/0.9584, allocations: 0.5216 MB / 0.7873 GB, free: 31.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006009/0.9591, allocations: 314 kB / 0.7876 GB, free: 31.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03524/0.9943, allocations: 11.91 MB / 0.7992 GB, free: 19.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.783e-05/0.9944, allocations: 15.89 kB / 0.7992 GB, free: 19.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.9944, allocations: 0 / 0.7992 GB, free: 19.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.9955, allocations: 422.4 kB / 0.7996 GB, free: 19.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000826/0.9963, allocations: 50.3 kB / 0.7997 GB, free: 19.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/0.999, allocations: 299.6 kB / 0.7999 GB, free: 18.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004158/1.003, allocations: 1.414 MB / 0.8013 GB, free: 17.42 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.015/1.018, allocations: 5.882 MB / 0.8071 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01061/1.029, allocations: 5.913 MB / 0.8128 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003383/1.032, allocations: 1.608 MB / 0.8144 GB, free: 3.938 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002232/1.035, allocations: 1.507 MB / 0.8159 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of Backend: time 7.41e-07/1.035, allocations: 0 / 0.8159 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01534/1.05, allocations: 5.202 MB / 0.821 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of SimCode: time 0.00943/1.059, allocations: 6.335 MB / 0.8271 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of Templates: time 0.1065/1.166, allocations: 60.68 MB / 0.8864 GB, free: 10.14 MB / 0.5919 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)