Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_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: "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009984/0.0009985, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.53/1.53, allocations: 223.3 MB / 239.4 MB, free: 5.297 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.001668/0.001668, allocations: 184.5 kB / 290.6 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5209/0.5209, allocations: 91.92 MB / 433.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004032, allocations: 8 kB / 0.5049 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4015, allocations: 72.46 MB / 0.5756 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII): time 0.0146/0.4162, allocations: 22.66 MB / 0.5978 GB, free: 20.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4286, allocations: 5.173 MB / 0.6028 GB, free: 16.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005568/0.4342, allocations: 51.59 kB / 0.6029 GB, free: 16.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003263/0.4375, allocations: 0.677 MB / 0.6035 GB, free: 16.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008485/0.446, allocations: 1.736 MB / 0.6052 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005457/0.4515, allocations: 1.931 MB / 0.6071 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009278/0.4607, allocations: 5.509 MB / 0.6125 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.4628, allocations: 1.128 MB / 0.6136 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.4671, allocations: 2.095 MB / 0.6156 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00431/0.4714, allocations: 2.721 MB / 0.6183 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.4725, allocations: 243.5 kB / 0.6185 GB, free: 8.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001713/0.4742, allocations: 381 kB / 0.6189 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008854/0.4751, allocations: 0.9387 MB / 0.6198 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002668/0.4778, allocations: 2.423 MB / 0.6222 GB, free: 5.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009046/0.4868, allocations: 5.897 MB / 0.6279 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.4869, allocations: 2.953 kB / 0.6279 GB, free: 3.691 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4869, allocations: 0 / 0.6279 GB, free: 3.691 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003322/0.4873, allocations: 0 / 0.6279 GB, free: 3.691 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: 895 * Number of variables: 895 Notification: Performance of Generate backend data structure: time 0.03269/0.52, allocations: 8.502 MB / 0.6362 GB, free: 15.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.52, allocations: 12.03 kB / 0.6362 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001922/0.522, allocations: 492.9 kB / 0.6367 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02881/0.5508, allocations: 4.051 MB / 0.6407 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006903/0.5577, allocations: 2.694 MB / 0.6433 GB, free: 8.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/0.5588, allocations: 0.9925 MB / 0.6443 GB, free: 7.043 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009799/0.5598, allocations: 344 kB / 0.6446 GB, free: 6.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.571, allocations: 5.016 MB / 0.6495 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-05/0.5711, allocations: 0 / 0.6495 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004229/0.5715, allocations: 144 kB / 0.6496 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-05/0.5716, allocations: 87.98 kB / 0.6497 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.5816, allocations: 4.521 MB / 0.6541 GB, free: 12.91 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.03992/0.6215, allocations: 18.91 MB / 0.6726 GB, free: 8.812 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/0.637, allocations: 5.775 MB / 0.6782 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007437/0.6445, allocations: 3.06 MB / 0.6812 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.6451, allocations: 66.84 kB / 0.6813 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008421/0.6536, allocations: 3.462 MB / 0.6847 GB, free: 12.31 MB / 494.1 MB Notification: Performance of pre-optimization done (n=385): time 9.328e-06/0.6536, allocations: 0 / 0.6847 GB, free: 12.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=385): time 0.3552/1.009, allocations: 80.41 MB / 0.7632 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.009, allocations: 145.9 kB / 0.7633 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006833/1.016, allocations: 3.274 MB / 0.7665 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001189/1.017, allocations: 89.7 kB / 0.7666 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.019, allocations: 1.971 MB / 0.7685 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002738/1.022, allocations: 1.321 MB / 0.7698 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/1.023, allocations: 354.9 kB / 0.7702 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.023, allocations: 313 kB / 0.7705 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00753/1.031, allocations: 2.878 MB / 0.7733 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2543/1.285, allocations: 3.504 MB / 0.7767 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08354/1.369, allocations: 21.03 MB / 0.7972 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.874e-05/1.369, allocations: 4.719 kB / 0.7972 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=546) (initialization): time 0.07084/1.44, allocations: 21.04 MB / 0.8178 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.44, allocations: 71.3 kB / 0.8179 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.552e-05/1.44, allocations: 16 kB / 0.8179 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02985/1.47, allocations: 8.631 MB / 0.8263 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/1.474, allocations: 0.6797 MB / 0.827 GB, free: 144.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09339/1.567, allocations: 35.41 MB / 0.8615 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007136/1.574, allocations: 0.7593 MB / 0.8623 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.576, allocations: 163.8 kB / 0.8624 GB, free: 109.3 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order6.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 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 (409): * Single equations (assignments): 406 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(92,46)} Notification: Performance of prepare postOptimizeDAE: time 0.003051/1.579, allocations: 0.661 MB / 0.8631 GB, free: 108.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001502/1.58, allocations: 466.2 kB / 0.8635 GB, free: 108.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06092/1.641, allocations: 20.69 MB / 0.8837 GB, free: 87.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.373e-05/1.641, allocations: 39.94 kB / 0.8838 GB, free: 87.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001123/1.641, allocations: 33.75 kB / 0.8838 GB, free: 87.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001319/1.641, allocations: 19.94 kB / 0.8838 GB, free: 87.3 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.07202/1.713, allocations: 25.71 MB / 0.9089 GB, free: 61.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-05/1.714, allocations: 0 / 0.9089 GB, free: 61.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002695/1.716, allocations: 395.5 kB / 0.9093 GB, free: 61.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0267/1.743, allocations: 8.68 MB / 0.9178 GB, free: 52.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.744, allocations: 71.98 kB / 0.9179 GB, free: 52.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07679/1.821, allocations: 32.69 MB / 0.9498 GB, free: 19.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.821, allocations: 4 kB / 0.9498 GB, free: 19.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06838/1.889, allocations: 24.34 MB / 0.9736 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/1.891, allocations: 0.5686 MB / 0.9741 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001955/1.893, allocations: 64 kB / 0.9742 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0061/1.899, allocations: 0.5074 MB / 0.9747 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003598/1.903, allocations: 0.7724 MB / 0.9754 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007816/1.904, allocations: 95.98 kB / 0.9755 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004468/1.908, allocations: 2.149 MB / 0.9776 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.61e-07/1.908, allocations: 0 / 0.9776 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007727/1.916, allocations: 1.814 MB / 0.9794 GB, free: 4.961 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (order3.delta,order3.w,order3.e1q,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.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 (249): * Single equations (assignments): 246 * 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.3874/2.303, allocations: 25.01 MB / 1.004 GB, free: 172.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03149/2.335, allocations: 10.36 MB / 1.014 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/2.335, allocations: 7.031 kB / 1.014 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0239/2.359, allocations: 7.086 MB / 1.021 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005672/2.364, allocations: 388.3 kB / 1.021 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1953/2.56, allocations: 78.58 MB / 1.098 GB, free: 118.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002535/2.562, allocations: 2.461 MB / 1.1 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002192/2.565, allocations: 375.8 kB / 1.101 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002557/2.567, allocations: 1.982 MB / 1.103 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/2.567, allocations: 0 / 1.103 GB, free: 114.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1531/2.72, allocations: 119.1 MB / 1.219 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001926/2.721, allocations: 242.5 kB / 1.219 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.547/8.268, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.6075 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_PSATSystems_TwoArea_SixthOrder_AVRII.fmu > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.SixthOrder_AVRII.pipe 2>&1)