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.001036/0.001036, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.326/1.326, allocations: 223.3 MB / 239 MB, free: 5.461 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.001052/0.001052, allocations: 184.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.493/0.493, allocations: 91.92 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003576/0.0003577, allocations: 12 kB / 0.5042 GB, free: 7.645 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3313, allocations: 72.47 MB / 0.5749 GB, free: 36.49 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII): time 0.01301/0.3443, allocations: 20.9 MB / 0.5953 GB, free: 21.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.3546, allocations: 4.948 MB / 0.6002 GB, free: 18.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.358, allocations: 51.12 kB / 0.6002 GB, free: 18.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.3599, allocations: 0.6126 MB / 0.6008 GB, free: 17.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.3657, allocations: 1.757 MB / 0.6025 GB, free: 16.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.37, allocations: 1.757 MB / 0.6043 GB, free: 15.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006889/0.3769, allocations: 5.176 MB / 0.6093 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.3788, allocations: 1.053 MB / 0.6103 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003457/0.3823, allocations: 1.997 MB / 0.6123 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.3862, allocations: 2.585 MB / 0.6148 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001049/0.3873, allocations: 234.2 kB / 0.615 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.3888, allocations: 375.6 kB / 0.6154 GB, free: 10.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006874/0.3895, allocations: 0.8951 MB / 0.6163 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.3908, allocations: 0.8339 MB / 0.6171 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00551/0.3963, allocations: 4.633 MB / 0.6216 GB, free: 7.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3963, allocations: 5.188 kB / 0.6216 GB, free: 7.824 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3963, allocations: 0 / 0.6216 GB, free: 7.824 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002171/0.3966, allocations: 0 / 0.6216 GB, free: 7.824 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: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.02769/0.4243, allocations: 8.453 MB / 0.6299 GB, free: 4.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4243, allocations: 16.48 kB / 0.6299 GB, free: 4.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02585/0.4502, allocations: 4.047 MB / 0.6338 GB, free: 1.434 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006558/0.4568, allocations: 2.487 MB / 0.6363 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/0.4579, allocations: 0.9963 MB / 0.6372 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/0.4592, allocations: 352 kB / 0.6376 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.4707, allocations: 4.961 MB / 0.6424 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/0.4708, allocations: 4 kB / 0.6424 GB, free: 8.395 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004155/0.4712, allocations: 136 kB / 0.6426 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.356e-05/0.4713, allocations: 87.78 kB / 0.6426 GB, free: 8.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009881/0.4812, allocations: 4.478 MB / 0.647 GB, free: 3.691 MB / 446.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.03459/0.5158, allocations: 18.84 MB / 0.6654 GB, free: 15.67 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.5278, allocations: 5.726 MB / 0.671 GB, free: 9.855 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005899/0.5337, allocations: 3.036 MB / 0.674 GB, free: 6.809 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000474/0.5342, allocations: 70.91 kB / 0.674 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006492/0.5407, allocations: 3.423 MB / 0.6774 GB, free: 3.273 MB / 478.1 MB Notification: Performance of pre-optimization done (n=383): time 6.061e-06/0.5407, allocations: 0 / 0.6774 GB, free: 3.273 MB / 478.1 MB Notification: Performance of matching and sorting (n=383): time 0.2879/0.8286, allocations: 81.24 MB / 0.7567 GB, free: 1.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.8287, allocations: 141.8 kB / 0.7568 GB, free: 1.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/0.8343, allocations: 3.183 MB / 0.76 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/0.8355, allocations: 89.7 kB / 0.76 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.8371, allocations: 1.97 MB / 0.762 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002425/0.8396, allocations: 1.309 MB / 0.7632 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009768/0.8406, allocations: 88 kB / 0.7633 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003489/0.8409, allocations: 463 kB / 0.7638 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006421/0.8474, allocations: 2.835 MB / 0.7665 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00683/0.8542, allocations: 3.451 MB / 0.7699 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007172/0.8614, allocations: 3.115 MB / 0.7729 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.912e-05/0.8615, allocations: 4 kB / 0.773 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of matching and sorting (n=538) (initialization): time 0.3331/1.195, allocations: 20.72 MB / 0.7932 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.289e-05/1.195, allocations: 67.33 kB / 0.7933 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/1.195, allocations: 14.78 kB / 0.7933 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02801/1.223, allocations: 8.611 MB / 0.8017 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/1.227, allocations: 0.6675 MB / 0.8023 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07957/1.306, allocations: 35.4 MB / 0.8369 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/1.313, allocations: 0.7506 MB / 0.8376 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008319/1.314, allocations: 152 kB / 0.8378 GB, free: 133.6 MB / 0.5606 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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" 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: 65 * Number of states: 0 () * 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 initialization (401): * Single equations (assignments): 398 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.002112/1.316, allocations: 0.6762 MB / 0.8384 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001132/1.317, allocations: 458.3 kB / 0.8389 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05046/1.368, allocations: 20.61 MB / 0.859 GB, free: 111.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.177e-05/1.368, allocations: 40 kB / 0.859 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.225e-05/1.368, allocations: 28 kB / 0.8591 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001028/1.368, allocations: 15.94 kB / 0.8591 GB, free: 111.7 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.05758/1.425, allocations: 25.62 MB / 0.8841 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.33e-05/1.425, allocations: 0 / 0.8841 GB, free: 86.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/1.428, allocations: 391.5 kB / 0.8845 GB, free: 85.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02376/1.451, allocations: 8.673 MB / 0.8929 GB, free: 76.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/1.453, allocations: 71.98 kB / 0.893 GB, free: 76.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06642/1.519, allocations: 32.68 MB / 0.9249 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.519, allocations: 0 / 0.9249 GB, free: 43.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05826/1.577, allocations: 24.22 MB / 0.9486 GB, free: 19.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/1.579, allocations: 0.5571 MB / 0.9491 GB, free: 19.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001759/1.581, allocations: 71.94 kB / 0.9492 GB, free: 18.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004721/1.586, allocations: 0.5035 MB / 0.9497 GB, free: 18.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003404/1.589, allocations: 0.7841 MB / 0.9504 GB, free: 17.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006519/1.59, allocations: 95.98 kB / 0.9505 GB, free: 17.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00308/1.593, allocations: 2.07 MB / 0.9525 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.11e-07/1.593, allocations: 0 / 0.9525 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008006/1.601, allocations: 1.802 MB / 0.9543 GB, free: 13.7 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009811/1.602, allocations: 194.7 kB / 0.9545 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0234/1.625, allocations: 10.26 MB / 0.9645 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.625, allocations: 0 / 0.9645 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01881/1.644, allocations: 7.033 MB / 0.9714 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004705/1.649, allocations: 378.1 kB / 0.9717 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/1.665, allocations: 9.291 MB / 0.9808 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001921/1.667, allocations: 2.443 MB / 0.9832 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001914/1.669, allocations: 375.1 kB / 0.9836 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008708/1.67, allocations: 235.3 kB / 0.9838 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/1.67, allocations: 0 / 0.9838 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.3607/2.031, allocations: 80.67 MB / 1.063 GB, free: 154.1 MB / 0.5919 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)