Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.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_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09023/0.09023, 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.001421/0.00142, allocations: 107.5 kB / 32.51 MB, free: 3.574 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.575/1.575, 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.001872/0.001872, allocations: 195.4 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.4844/0.4844, 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.002684/0.002684, allocations: 138.5 kB / 0.5566 GB, free: 28.75 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.154, allocations: 68.14 MB / 0.6231 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI): time 0.01396/0.168, allocations: 13.43 MB / 0.6362 GB, free: 1.988 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008993/0.177, allocations: 3.442 MB / 0.6396 GB, free: 14.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/0.1808, allocations: 35.94 kB / 0.6396 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.1833, allocations: 0.5616 MB / 0.6402 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006946/0.1903, allocations: 1.552 MB / 0.6417 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.1948, allocations: 1.542 MB / 0.6432 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006838/0.2017, allocations: 3.663 MB / 0.6468 GB, free: 7.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.2038, allocations: 0.8149 MB / 0.6476 GB, free: 6.328 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.2073, allocations: 1.494 MB / 0.649 GB, free: 4.828 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003374/0.2107, allocations: 1.937 MB / 0.6509 GB, free: 2.883 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00126/0.212, allocations: 283.9 kB / 0.6512 GB, free: 2.605 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001871/0.2138, allocations: 419.9 kB / 0.6516 GB, free: 2.195 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00141/0.2153, allocations: 0.7585 MB / 0.6523 GB, free: 1.434 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003383/0.2187, allocations: 1.619 MB / 0.6539 GB, free: 15.8 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006091/0.2248, allocations: 3.955 MB / 0.6578 GB, free: 11.83 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2248, allocations: 0 / 0.6578 GB, free: 11.83 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2248, allocations: 0 / 0.6578 GB, free: 11.83 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.28e-05/0.2249, allocations: 0 / 0.6578 GB, free: 11.83 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.02289/0.2478, allocations: 6.646 MB / 0.6643 GB, free: 5.086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.2479, allocations: 11.98 kB / 0.6643 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01483/0.2627, allocations: 2.292 MB / 0.6665 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004657/0.2675, allocations: 1.9 MB / 0.6684 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007461/0.2682, allocations: 0.671 MB / 0.669 GB, free: 40 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007944/0.269, allocations: 216 kB / 0.6692 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006117/0.2752, allocations: 3.04 MB / 0.6722 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.252e-05/0.2752, allocations: 0 / 0.6722 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/0.2755, allocations: 91.92 kB / 0.6723 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.806e-05/0.2755, allocations: 48 kB / 0.6723 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005772/0.2813, allocations: 2.811 MB / 0.6751 GB, free: 9.738 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.01873/0.3, allocations: 9.88 MB / 0.6847 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01019/0.3103, allocations: 4.086 MB / 0.6887 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004176/0.3145, allocations: 1.983 MB / 0.6907 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/0.3148, allocations: 46.11 kB / 0.6907 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.3149, allocations: 60.56 kB / 0.6908 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=241): time 5.36e-06/0.3149, allocations: 0 / 0.6908 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=241): time 0.4863/0.8012, allocations: 27.99 MB / 0.7181 GB, free: 79.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.8014, allocations: 240.1 kB / 0.7183 GB, free: 78.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/0.8064, allocations: 2.27 MB / 0.7205 GB, free: 78.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007674/0.8072, allocations: 70.7 kB / 0.7206 GB, free: 78.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009678/0.8082, allocations: 1.193 MB / 0.7218 GB, free: 78.26 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001127/0.8093, allocations: 0.8909 MB / 0.7226 GB, free: 77.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.8105, allocations: 0.5316 MB / 0.7232 GB, free: 77.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.926e-05/0.8106, allocations: 303 kB / 0.7235 GB, free: 77.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004635/0.8152, allocations: 1.942 MB / 0.7254 GB, free: 76.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/0.8202, allocations: 2.305 MB / 0.7276 GB, free: 75.53 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05354/0.8738, allocations: 13.96 MB / 0.7412 GB, free: 71.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.269e-05/0.8739, allocations: 4 kB / 0.7412 GB, free: 71.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=393) (initialization): time 0.03563/0.9095, allocations: 12.24 MB / 0.7532 GB, free: 65.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.175e-05/0.9097, allocations: 114.8 kB / 0.7533 GB, free: 65.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.64e-05/0.9097, allocations: 8 kB / 0.7533 GB, free: 65.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01574/0.9254, allocations: 5.374 MB / 0.7586 GB, free: 60.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/0.9282, allocations: 0.5188 MB / 0.7591 GB, free: 59.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05092/0.9792, allocations: 23.53 MB / 0.782 GB, free: 36.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004361/0.9836, allocations: 474.6 kB / 0.7825 GB, free: 35.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004556/0.984, allocations: 112 kB / 0.7826 GB, free: 35.75 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004445/0.9885, allocations: 2.266 MB / 0.7848 GB, free: 33.49 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005658/0.9942, allocations: 2.288 MB / 0.7871 GB, free: 31.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07232/1.067, allocations: 13.9 MB / 0.8006 GB, free: 16.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.333e-05/1.067, allocations: 4 kB / 0.8006 GB, free: 16.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=393) (initialization_lambda0): time 0.05793/1.125, allocations: 12.19 MB / 0.8125 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.898e-05/1.125, allocations: 114.8 kB / 0.8126 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/1.125, allocations: 8 kB / 0.8126 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02526/1.15, allocations: 5.371 MB / 0.8179 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004407/1.154, allocations: 0.511 MB / 0.8184 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09383/1.248, allocations: 23.53 MB / 0.8414 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006079/1.254, allocations: 440.5 kB / 0.8418 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009548/1.255, allocations: 112 kB / 0.8419 GB, free: 6.555 MB / 0.545 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 300 * 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.001676/1.257, allocations: 396.8 kB / 0.8423 GB, free: 6.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00146/1.259, allocations: 316.6 kB / 0.8426 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05304/1.312, allocations: 11.68 MB / 0.854 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001041/1.312, allocations: 11.95 kB / 0.854 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/1.312, allocations: 4 kB / 0.854 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.313, allocations: 412.4 kB / 0.8544 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001311/1.314, allocations: 51.98 kB / 0.8544 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003554/1.318, allocations: 283.7 kB / 0.8547 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004299/1.322, allocations: 1.387 MB / 0.8561 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01569/1.338, allocations: 5.689 MB / 0.8616 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01186/1.35, allocations: 5.915 MB / 0.8674 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003624/1.354, allocations: 1.62 MB / 0.869 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002423/1.356, allocations: 1.503 MB / 0.8704 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of Backend: time 1.182e-06/1.356, allocations: 0 / 0.8704 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.02908/1.385, allocations: 9.957 MB / 0.8802 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of SimCode: time 0.009891/1.395, allocations: 6.304 MB / 0.8863 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of Templates: time 0.4937/1.889, allocations: 90.28 MB / 0.9745 GB, free: 230.9 MB / 0.67 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRI.pipe 2>&1)