Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_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.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.371/1.371, allocations: 222.9 MB / 240 MB, free: 4.551 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.001363/0.001363, allocations: 188.5 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.49/0.49, allocations: 91.91 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 79.88 kB / 0.5033 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4021, allocations: 71.26 MB / 0.5729 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII): time 0.01503/0.4172, allocations: 21.92 MB / 0.5943 GB, free: 21.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.4301, allocations: 4.884 MB / 0.599 GB, free: 18.2 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006556/0.4367, allocations: 44.53 kB / 0.5991 GB, free: 18.2 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004301/0.4411, allocations: 0.8865 MB / 0.6 GB, free: 17.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.4517, allocations: 2.058 MB / 0.602 GB, free: 16.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00622/0.4579, allocations: 2.063 MB / 0.604 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.4703, allocations: 5.768 MB / 0.6096 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00431/0.4747, allocations: 1.316 MB / 0.6109 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006426/0.4811, allocations: 2.34 MB / 0.6132 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006026/0.4872, allocations: 2.97 MB / 0.6161 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002786/0.49, allocations: 442.5 kB / 0.6165 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003733/0.4937, allocations: 0.5893 MB / 0.6171 GB, free: 8.848 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002456/0.4962, allocations: 1.156 MB / 0.6182 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006353/0.5026, allocations: 2.631 MB / 0.6208 GB, free: 6.293 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.5145, allocations: 6.264 MB / 0.6269 GB, free: 3.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5145, allocations: 1.188 kB / 0.6269 GB, free: 3.395 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5145, allocations: 0 / 0.6269 GB, free: 3.395 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003482/0.5149, allocations: 0 / 0.6269 GB, free: 3.395 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.03684/0.5517, allocations: 9.218 MB / 0.6359 GB, free: 13.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5518, allocations: 12.03 kB / 0.6359 GB, free: 13.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02683/0.5786, allocations: 4.009 MB / 0.6398 GB, free: 9.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007415/0.5861, allocations: 2.678 MB / 0.6424 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/0.5871, allocations: 0.9612 MB / 0.6434 GB, free: 5.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001248/0.5884, allocations: 348 kB / 0.6437 GB, free: 5.594 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009629/0.598, allocations: 4.739 MB / 0.6483 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-05/0.5981, allocations: 11.92 kB / 0.6484 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000374/0.5985, allocations: 140 kB / 0.6485 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.71e-05/0.5986, allocations: 84 kB / 0.6486 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008537/0.6071, allocations: 4.248 MB / 0.6527 GB, free: 12.34 MB / 462.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.03603/0.6432, allocations: 18.25 MB / 0.6705 GB, free: 8.906 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/0.6553, allocations: 5.013 MB / 0.6754 GB, free: 3.809 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00631/0.6616, allocations: 2.793 MB / 0.6782 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005264/0.6622, allocations: 78.84 kB / 0.6782 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006588/0.6687, allocations: 3.181 MB / 0.6813 GB, free: 13.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=384): time 5.05e-06/0.6688, allocations: 0 / 0.6813 GB, free: 13.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=384): time 0.2779/0.9467, allocations: 67.77 MB / 0.7475 GB, free: 9.742 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.9468, allocations: 145.8 kB / 0.7477 GB, free: 9.574 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005184/0.952, allocations: 3.254 MB / 0.7508 GB, free: 6.301 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001123/0.9531, allocations: 85.7 kB / 0.7509 GB, free: 6.211 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/0.9547, allocations: 1.978 MB / 0.7529 GB, free: 4.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/0.9571, allocations: 1.321 MB / 0.7541 GB, free: 2.879 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001515/0.9586, allocations: 0.6861 MB / 0.7548 GB, free: 2.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9588, allocations: 301.1 kB / 0.7551 GB, free: 1.883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005291/0.9641, allocations: 2.605 MB / 0.7576 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005968/0.9701, allocations: 3.229 MB / 0.7608 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3836/1.354, allocations: 19 MB / 0.7794 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-05/1.354, allocations: 5.188 kB / 0.7794 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=542) (initialization): time 0.05502/1.409, allocations: 17.29 MB / 0.7962 GB, free: 152 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.115e-05/1.409, allocations: 69.72 kB / 0.7963 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/1.409, allocations: 19.27 kB / 0.7963 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0248/1.434, allocations: 7.157 MB / 0.8033 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003901/1.438, allocations: 0.6855 MB / 0.804 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07363/1.511, allocations: 33.29 MB / 0.8365 GB, free: 133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00623/1.518, allocations: 0.6227 MB / 0.8371 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001017/1.519, allocations: 152 kB / 0.8372 GB, free: 132.3 MB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (407): * Single equations (assignments): 404 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00203/1.521, allocations: 0.6659 MB / 0.8379 GB, free: 131.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.522, allocations: 462.3 kB / 0.8383 GB, free: 131.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0463/1.568, allocations: 16.88 MB / 0.8548 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.288e-05/1.568, allocations: 40 kB / 0.8549 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.269e-05/1.568, allocations: 28 kB / 0.8549 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/1.569, allocations: 19.92 kB / 0.8549 GB, free: 114.1 MB / 0.5606 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.05587/1.624, allocations: 21.88 MB / 0.8763 GB, free: 92.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.286e-05/1.625, allocations: 4 kB / 0.8763 GB, free: 92.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/1.627, allocations: 387.5 kB / 0.8766 GB, free: 91.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02145/1.648, allocations: 7.378 MB / 0.8838 GB, free: 84.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009898/1.649, allocations: 72.61 kB / 0.8839 GB, free: 84.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06457/1.714, allocations: 31.78 MB / 0.915 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.714, allocations: 0 / 0.915 GB, free: 52.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05254/1.767, allocations: 20.25 MB / 0.9347 GB, free: 31.97 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001731/1.768, allocations: 0.5615 MB / 0.9353 GB, free: 31.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001508/1.77, allocations: 67.34 kB / 0.9353 GB, free: 31.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004326/1.774, allocations: 383.5 kB / 0.9357 GB, free: 30.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002801/1.777, allocations: 0.7844 MB / 0.9365 GB, free: 30.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000313/1.777, allocations: 95.98 kB / 0.9366 GB, free: 30.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002582/1.78, allocations: 2.137 MB / 0.9387 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.78, allocations: 0 / 0.9387 GB, free: 27.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005108/1.785, allocations: 1.798 MB / 0.9404 GB, free: 26.12 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order3.delta,order3.w,order3.e1q,order5.delta,order5.w,order5.e1q,order5.e2q,order5.e2d,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 (248): * Single equations (assignments): 245 * 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 {(100,36,5.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005191/1.786, allocations: 206.8 kB / 0.9406 GB, free: 25.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02111/1.807, allocations: 9.181 MB / 0.9496 GB, free: 16.69 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.807, allocations: 9.938 kB / 0.9496 GB, free: 16.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01654/1.823, allocations: 6.199 MB / 0.9556 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004492/1.828, allocations: 393 kB / 0.956 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.843, allocations: 7.935 MB / 0.9638 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/1.845, allocations: 2.451 MB / 0.9662 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001482/1.846, allocations: 375.1 kB / 0.9665 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008393/1.847, allocations: 251.4 kB / 0.9668 GB, free: 15 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/1.847, allocations: 0 / 0.9668 GB, free: 15 MB / 0.5762 GB Notification: Performance of Templates: time 0.3714/2.218, allocations: 89.4 MB / 1.054 GB, free: 161.4 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRII.pipe 2>&1)