Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.391/1.391, allocations: 222.9 MB / 240 MB, free: 4.387 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.001569/0.001569, allocations: 188.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5333/0.5333, allocations: 91.92 MB / 432.4 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 77.81 kB / 0.5735 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1433, allocations: 71.29 MB / 0.6431 GB, free: 3.461 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.02043/0.1638, allocations: 21.83 MB / 0.6644 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.1761, allocations: 4.861 MB / 0.6692 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004667/0.1808, allocations: 44 kB / 0.6692 GB, free: 8.617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003552/0.1844, allocations: 0.8827 MB / 0.6701 GB, free: 7.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008604/0.1931, allocations: 2.03 MB / 0.6721 GB, free: 5.688 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006112/0.1992, allocations: 2.067 MB / 0.6741 GB, free: 3.652 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.009929/0.2092, allocations: 5.709 MB / 0.6797 GB, free: 13.92 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003097/0.2123, allocations: 1.325 MB / 0.681 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004342/0.2167, allocations: 2.322 MB / 0.6832 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004792/0.2215, allocations: 2.936 MB / 0.6861 GB, free: 7.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00194/0.2234, allocations: 436 kB / 0.6865 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.2258, allocations: 0.5779 MB / 0.6871 GB, free: 6.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001848/0.2276, allocations: 1.147 MB / 0.6882 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004603/0.2323, allocations: 2.614 MB / 0.6907 GB, free: 2.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009334/0.2416, allocations: 6.212 MB / 0.6968 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/0.2417, allocations: 0 / 0.6968 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2417, allocations: 4 kB / 0.6968 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002733/0.242, allocations: 3.938 kB / 0.6968 GB, free: 12.23 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.032/0.274, allocations: 9.147 MB / 0.7058 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.274, allocations: 16.02 kB / 0.7058 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02662/0.3007, allocations: 4.005 MB / 0.7097 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005893/0.3066, allocations: 2.65 MB / 0.7123 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009911/0.3076, allocations: 0.9612 MB / 0.7132 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.3086, allocations: 344 kB / 0.7135 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009869/0.3185, allocations: 4.723 MB / 0.7181 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.177e-05/0.3186, allocations: 7.875 kB / 0.7182 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003943/0.319, allocations: 140 kB / 0.7183 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/0.3191, allocations: 84 kB / 0.7184 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009723/0.3288, allocations: 4.248 MB / 0.7225 GB, free: 1.562 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 preOpt removeSimpleEquations (simulation): time 0.03906/0.3679, allocations: 18.22 MB / 0.7403 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.3819, allocations: 4.992 MB / 0.7452 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00669/0.3886, allocations: 2.779 MB / 0.7479 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/0.3894, allocations: 70.83 kB / 0.748 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008157/0.3976, allocations: 3.178 MB / 0.7511 GB, free: 2.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=383): time 8.366e-06/0.3976, allocations: 0 / 0.7511 GB, free: 2.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=383): time 0.6486/1.046, allocations: 68.04 MB / 0.8175 GB, free: 84.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/1.046, allocations: 141.8 kB / 0.8177 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004843/1.051, allocations: 3.222 MB / 0.8208 GB, free: 82.32 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001158/1.052, allocations: 87.95 kB / 0.8209 GB, free: 82.28 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/1.054, allocations: 1.973 MB / 0.8228 GB, free: 81.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.056, allocations: 1.306 MB / 0.8241 GB, free: 79.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001294/1.057, allocations: 0.6782 MB / 0.8247 GB, free: 79.06 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.517e-05/1.057, allocations: 301.1 kB / 0.825 GB, free: 78.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004609/1.062, allocations: 2.581 MB / 0.8276 GB, free: 76.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004875/1.067, allocations: 3.213 MB / 0.8307 GB, free: 72.74 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06425/1.131, allocations: 18.78 MB / 0.849 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-05/1.131, allocations: 4 kB / 0.849 GB, free: 53.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.05178/1.183, allocations: 17.25 MB / 0.8659 GB, free: 36.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/1.183, allocations: 67.34 kB / 0.866 GB, free: 36.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/1.183, allocations: 12 kB / 0.866 GB, free: 36.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.023/1.206, allocations: 7.151 MB / 0.8729 GB, free: 29.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/1.209, allocations: 0.6709 MB / 0.8736 GB, free: 28.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07639/1.286, allocations: 33.28 MB / 0.9061 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/1.292, allocations: 0.621 MB / 0.9067 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008731/1.293, allocations: 152 kB / 0.9069 GB, free: 10.26 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.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 (403): * Single equations (assignments): 400 * 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.00219/1.295, allocations: 0.668 MB / 0.9075 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001357/1.297, allocations: 458.2 kB / 0.9079 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05558/1.352, allocations: 16.84 MB / 0.9244 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-05/1.352, allocations: 36 kB / 0.9244 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.51e-05/1.352, allocations: 39.92 kB / 0.9245 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.54e-05/1.352, allocations: 15.94 kB / 0.9245 GB, free: 8.125 MB / 0.5919 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.06432/1.417, allocations: 21.83 MB / 0.9458 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/1.417, allocations: 32 / 0.9458 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/1.419, allocations: 395.5 kB / 0.9462 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02642/1.446, allocations: 7.343 MB / 0.9533 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001199/1.447, allocations: 75.92 kB / 0.9534 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07903/1.526, allocations: 31.8 MB / 0.9845 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.526, allocations: 0 / 0.9845 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06502/1.591, allocations: 20.21 MB / 1.004 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002034/1.593, allocations: 0.5493 MB / 1.005 GB, free: 5.43 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001555/1.595, allocations: 75.92 kB / 1.005 GB, free: 5.355 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004787/1.6, allocations: 373.2 kB / 1.005 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003476/1.603, allocations: 0.7805 MB / 1.006 GB, free: 4.211 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005008/1.604, allocations: 99.98 kB / 1.006 GB, free: 4.113 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003468/1.607, allocations: 2.105 MB / 1.008 GB, free: 2.004 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.91e-07/1.607, allocations: 0 / 1.008 GB, free: 2.004 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007314/1.614, allocations: 1.794 MB / 1.01 GB, free: 212 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,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 (247): * Single equations (assignments): 244 * 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 {(98,38,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.0008599/1.615, allocations: 207.2 kB / 1.01 GB, free: 16 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02646/1.642, allocations: 9.145 MB / 1.019 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/1.642, allocations: 5.969 kB / 1.019 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01989/1.662, allocations: 6.126 MB / 1.025 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/1.665, allocations: 383.3 kB / 1.025 GB, free: 256 kB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/1.683, allocations: 7.932 MB / 1.033 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002396/1.686, allocations: 2.443 MB / 1.035 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/1.688, allocations: 275.4 kB / 1.036 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of SimCode: time 1.413e-06/1.688, allocations: 0 / 1.036 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of Templates: time 0.45/2.138, allocations: 88.35 MB / 1.122 GB, free: 182.2 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)