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.1335/0.1335, 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.001654/0.001654, allocations: 107.5 kB / 32.51 MB, free: 3.582 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.622/1.622, 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.001662/0.001662, allocations: 192.5 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.5629/0.5629, allocations: 78.51 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.00262/0.00262, allocations: 139.8 kB / 0.5566 GB, free: 28.4 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1529, allocations: 68.13 MB / 0.6231 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII): time 0.01553/0.1685, allocations: 13.73 MB / 0.6365 GB, free: 1.578 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.1791, allocations: 3.446 MB / 0.6399 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003894/0.1831, allocations: 28 kB / 0.6399 GB, free: 14.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.1857, allocations: 0.5576 MB / 0.6405 GB, free: 13.53 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007558/0.1933, allocations: 1.564 MB / 0.642 GB, free: 11.96 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.004947/0.1982, allocations: 1.511 MB / 0.6435 GB, free: 10.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007695/0.2059, allocations: 3.729 MB / 0.6471 GB, free: 6.727 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.2082, allocations: 0.8895 MB / 0.648 GB, free: 5.789 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.2119, allocations: 1.536 MB / 0.6495 GB, free: 4.246 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/0.216, allocations: 1.956 MB / 0.6514 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.2176, allocations: 284 kB / 0.6517 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.2202, allocations: 431.9 kB / 0.6521 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.2218, allocations: 0.7623 MB / 0.6528 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.2256, allocations: 1.631 MB / 0.6544 GB, free: 15.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008225/0.2339, allocations: 3.991 MB / 0.6583 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.2339, allocations: 0 / 0.6583 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.2339, allocations: 0 / 0.6583 GB, free: 11.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002081/0.2342, allocations: 0 / 0.6583 GB, free: 11.17 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.02681/0.261, allocations: 6.681 MB / 0.6648 GB, free: 4.387 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.2611, allocations: 11.98 kB / 0.6648 GB, free: 4.375 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/0.2766, allocations: 2.292 MB / 0.6671 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/0.2824, allocations: 1.896 MB / 0.6689 GB, free: 120 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001046/0.2835, allocations: 0.7252 MB / 0.6696 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/0.2847, allocations: 216 kB / 0.6698 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009548/0.2943, allocations: 3.032 MB / 0.6728 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.889e-05/0.2944, allocations: 0 / 0.6728 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006958/0.2951, allocations: 91.94 kB / 0.6729 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.2952, allocations: 48 kB / 0.6729 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007589/0.3028, allocations: 2.784 MB / 0.6757 GB, free: 9.02 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.02592/0.3288, allocations: 9.831 MB / 0.6853 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/0.3405, allocations: 4.192 MB / 0.6894 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004866/0.3455, allocations: 1.96 MB / 0.6913 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005663/0.3461, allocations: 45.88 kB / 0.6913 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006039/0.3521, allocations: 2.232 MB / 0.6935 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=248): time 6.803e-06/0.3522, allocations: 0 / 0.6935 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.4421/0.7942, allocations: 27.31 MB / 0.7202 GB, free: 80.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.167e-05/0.7943, allocations: 182.1 kB / 0.7203 GB, free: 79.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/0.7984, allocations: 2.276 MB / 0.7226 GB, free: 79.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006767/0.7991, allocations: 73.36 kB / 0.7226 GB, free: 79.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008952/0.8, allocations: 1.179 MB / 0.7238 GB, free: 79.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009226/0.801, allocations: 0.9176 MB / 0.7247 GB, free: 79.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001201/0.8022, allocations: 0.5583 MB / 0.7252 GB, free: 78.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.2e-05/0.8022, allocations: 305.9 kB / 0.7255 GB, free: 78.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004118/0.8064, allocations: 1.948 MB / 0.7274 GB, free: 77.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004717/0.8111, allocations: 2.326 MB / 0.7297 GB, free: 76.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05207/0.8632, allocations: 14.04 MB / 0.7434 GB, free: 71.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.99e-05/0.8632, allocations: 3.844 kB / 0.7434 GB, free: 71.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=417) (initialization): time 0.0361/0.8994, allocations: 12.52 MB / 0.7556 GB, free: 63.38 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.086e-05/0.8995, allocations: 110.8 kB / 0.7557 GB, free: 63.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.8995, allocations: 8 kB / 0.7557 GB, free: 63.24 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/0.9149, allocations: 5.287 MB / 0.7609 GB, free: 57.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003334/0.9183, allocations: 0.5722 MB / 0.7615 GB, free: 57.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05362/0.9719, allocations: 23.2 MB / 0.7841 GB, free: 34.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004663/0.9767, allocations: 494.7 kB / 0.7846 GB, free: 33.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008115/0.9775, allocations: 116 kB / 0.7847 GB, free: 33.49 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.002116/0.9796, allocations: 0.5375 MB / 0.7852 GB, free: 32.94 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/0.9809, allocations: 314 kB / 0.7855 GB, free: 32.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03561/1.017, allocations: 11.9 MB / 0.7971 GB, free: 20.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-05/1.017, allocations: 11.95 kB / 0.7971 GB, free: 20.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.017, allocations: 0 / 0.7971 GB, free: 20.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009761/1.018, allocations: 431 kB / 0.7976 GB, free: 20.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/1.019, allocations: 40 kB / 0.7976 GB, free: 20.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003424/1.022, allocations: 299.6 kB / 0.7979 GB, free: 19.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004683/1.027, allocations: 1.415 MB / 0.7993 GB, free: 18.53 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01685/1.044, allocations: 5.9 MB / 0.805 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01101/1.055, allocations: 5.913 MB / 0.8108 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003237/1.058, allocations: 1.616 MB / 0.8124 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00242/1.061, allocations: 1.507 MB / 0.8138 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of Backend: time 5.51e-07/1.061, allocations: 0 / 0.8138 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.076, allocations: 5.111 MB / 0.8188 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01224/1.088, allocations: 6.405 MB / 0.8251 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of Templates: time 0.115/1.203, allocations: 58.66 MB / 0.8824 GB, free: 13.31 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)