Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007472/0.007472, allocations: 100.6 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 222.9 MB / 239.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 196.4 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5401/0.5401, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 79.47 kB / 0.5727 GB, free: 33.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1309, allocations: 71.28 MB / 0.6423 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.007345/0.1383, allocations: 6.581 MB / 0.6488 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00415/0.1424, allocations: 1.955 MB / 0.6507 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009729/0.1434, allocations: 15.94 kB / 0.6507 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009057/0.1444, allocations: 238 kB / 0.6509 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.1469, allocations: 0.8591 MB / 0.6518 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.1483, allocations: 0.6268 MB / 0.6524 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0019/0.1502, allocations: 1.592 MB / 0.6539 GB, free: 7.695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.1508, allocations: 326.4 kB / 0.6542 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009907/0.1518, allocations: 0.6574 MB / 0.6549 GB, free: 6.707 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009106/0.1527, allocations: 0.8167 MB / 0.6557 GB, free: 5.887 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.1529, allocations: 120 kB / 0.6558 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.1533, allocations: 259.9 kB / 0.656 GB, free: 5.516 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.1536, allocations: 334.6 kB / 0.6564 GB, free: 5.188 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000561/0.1542, allocations: 0.668 MB / 0.657 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001483/0.1556, allocations: 1.658 MB / 0.6586 GB, free: 2.852 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1557, allocations: 0 / 0.6586 GB, free: 2.852 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1557, allocations: 0 / 0.6586 GB, free: 2.852 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.1557, allocations: 4 kB / 0.6586 GB, free: 2.848 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.008338/0.164, allocations: 2.688 MB / 0.6613 GB, free: 92 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1641, allocations: 12.03 kB / 0.6613 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/0.169, allocations: 0.7748 MB / 0.662 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1703, allocations: 0.8786 MB / 0.6629 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002584/0.1706, allocations: 256.2 kB / 0.6631 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.1708, allocations: 83.91 kB / 0.6632 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00208/0.1729, allocations: 1.094 MB / 0.6643 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1729, allocations: 4 kB / 0.6643 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-05/0.173, allocations: 28 kB / 0.6643 GB, free: 12.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.173, allocations: 20 kB / 0.6643 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.175, allocations: 0.9838 MB / 0.6653 GB, free: 11.86 MB / 478.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.006361/0.1814, allocations: 3.835 MB / 0.669 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007378/0.1888, allocations: 2.369 MB / 0.6713 GB, free: 5.371 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.1901, allocations: 0.68 MB / 0.672 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.1902, allocations: 16.92 kB / 0.672 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001647/0.1919, allocations: 0.8215 MB / 0.6728 GB, free: 3.832 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 5.901e-06/0.1919, allocations: 0 / 0.6728 GB, free: 3.832 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02815/0.2201, allocations: 7.081 MB / 0.6797 GB, free: 12.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.2202, allocations: 115.8 kB / 0.6798 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.222, allocations: 1.083 MB / 0.6809 GB, free: 11.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.2222, allocations: 45.73 kB / 0.6809 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.2226, allocations: 496.8 kB / 0.6814 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.223, allocations: 351.1 kB / 0.6818 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005709/0.2236, allocations: 287.4 kB / 0.682 GB, free: 10.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.2238, allocations: 305.1 kB / 0.6823 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.2254, allocations: 0.7574 MB / 0.6831 GB, free: 9.219 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.2272, allocations: 0.9381 MB / 0.684 GB, free: 8.242 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02289/0.2501, allocations: 5.579 MB / 0.6894 GB, free: 2.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.2502, allocations: 3.938 kB / 0.6894 GB, free: 2.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.0133/0.2635, allocations: 4.332 MB / 0.6937 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.2636, allocations: 56.81 kB / 0.6937 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.2636, allocations: 4 kB / 0.6937 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005419/0.269, allocations: 1.512 MB / 0.6952 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/0.2705, allocations: 299.6 kB / 0.6955 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/0.2906, allocations: 8.272 MB / 0.7036 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002191/0.2928, allocations: 198.8 kB / 0.7037 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003039/0.2931, allocations: 55.97 kB / 0.7038 GB, free: 3.656 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.0008109/0.294, allocations: 300.4 kB / 0.7041 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/0.2943, allocations: 130.3 kB / 0.7042 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.3074, allocations: 3.869 MB / 0.708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.3074, allocations: 12 kB / 0.708 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.511e-05/0.3074, allocations: 7.984 kB / 0.708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.3075, allocations: 7.984 kB / 0.708 GB, free: 15.3 MB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.01502/0.3225, allocations: 5.467 MB / 0.7134 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.3225, allocations: 0 / 0.7134 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.3231, allocations: 91.91 kB / 0.7134 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005607/0.3288, allocations: 1.598 MB / 0.715 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.3289, allocations: 19.94 kB / 0.715 GB, free: 8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.021/0.3499, allocations: 9.626 MB / 0.7244 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3499, allocations: 3.984 kB / 0.7244 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.3646, allocations: 4.738 MB / 0.7291 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/0.3652, allocations: 223.3 kB / 0.7293 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003969/0.3656, allocations: 24 kB / 0.7293 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001385/0.367, allocations: 103.9 kB / 0.7294 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007081/0.3677, allocations: 196.8 kB / 0.7296 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.3679, allocations: 31.94 kB / 0.7296 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001349/0.3692, allocations: 0.7274 MB / 0.7303 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3693, allocations: 0 / 0.7303 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001862/0.3711, allocations: 475.5 kB / 0.7308 GB, free: 7.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order2.delta,order2.w,order4.delta,order4.w,order4.e1q,order4.e1d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(19,13,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003617/0.3715, allocations: 136.2 kB / 0.7309 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006516/0.378, allocations: 2.509 MB / 0.7334 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.378, allocations: 4 kB / 0.7334 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004486/0.3825, allocations: 1.582 MB / 0.7349 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.3839, allocations: 113.2 kB / 0.735 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.389, allocations: 2.252 MB / 0.7372 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.3901, allocations: 1.12 MB / 0.7383 GB, free: 15.67 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005545/0.3906, allocations: 116 kB / 0.7384 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.391, allocations: 83.41 kB / 0.7385 GB, free: 15.47 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.391, allocations: 0 / 0.7385 GB, free: 15.47 MB / 0.545 GB Notification: Performance of Templates: time 0.04458/0.4356, allocations: 23.67 MB / 0.7616 GB, free: 7.801 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)