Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",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.001258/0.001258, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.33/1.33, allocations: 223.2 MB / 238.9 MB, free: 5.586 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.001252/0.001252, allocations: 184.9 kB / 290.2 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4812/0.4812, allocations: 79.45 MB / 420.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 11.98 kB / 0.4891 GB, free: 5.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3485/0.3489, allocations: 69.51 MB / 0.557 GB, free: 38.27 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004332/0.3533, allocations: 4.981 MB / 0.5618 GB, free: 37.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002955/0.3563, allocations: 1.702 MB / 0.5635 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008384/0.3572, allocations: 14.5 kB / 0.5635 GB, free: 37.67 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004922/0.3577, allocations: 144.8 kB / 0.5636 GB, free: 37.62 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.3592, allocations: 0.6152 MB / 0.5642 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.3603, allocations: 483.2 kB / 0.5647 GB, free: 37.53 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.3613, allocations: 0.804 MB / 0.5655 GB, free: 37.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.3617, allocations: 210 kB / 0.5657 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.3621, allocations: 460.6 kB / 0.5661 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.3626, allocations: 0.5476 MB / 0.5667 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.341e-05/0.3627, allocations: 44.56 kB / 0.5667 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.363, allocations: 160.1 kB / 0.5669 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3632, allocations: 185.1 kB / 0.567 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.3634, allocations: 195.3 kB / 0.5672 GB, free: 36.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.3641, allocations: 0.9422 MB / 0.5681 GB, free: 36.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.3642, allocations: 3.938 kB / 0.5681 GB, free: 36.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3642, allocations: 1.781 kB / 0.5681 GB, free: 36.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.3642, allocations: 0 / 0.5681 GB, free: 36.82 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.006668/0.3709, allocations: 2.183 MB / 0.5703 GB, free: 36.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3709, allocations: 11.78 kB / 0.5703 GB, free: 36.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.3711, allocations: 119.1 kB / 0.5704 GB, free: 35.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004756/0.3759, allocations: 0.7619 MB / 0.5711 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.377, allocations: 0.6621 MB / 0.5718 GB, free: 35.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002498/0.3773, allocations: 261.9 kB / 0.572 GB, free: 35.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.3774, allocations: 67.36 kB / 0.5721 GB, free: 35.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3792, allocations: 1.007 MB / 0.5731 GB, free: 34.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.3793, allocations: 0 / 0.5731 GB, free: 34.83 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.087e-05/0.3794, allocations: 27.41 kB / 0.5731 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.3794, allocations: 18.42 kB / 0.5731 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.3813, allocations: 1.048 MB / 0.5742 GB, free: 34.49 MB / 430.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.004587/0.3859, allocations: 3.322 MB / 0.5774 GB, free: 32.51 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.3877, allocations: 1.376 MB / 0.5787 GB, free: 31.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-05/0.3878, allocations: 20.48 kB / 0.5788 GB, free: 31.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.3878, allocations: 42.25 kB / 0.5788 GB, free: 31.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.514e-06/0.3878, allocations: 3.031 kB / 0.5788 GB, free: 31.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02717/0.415, allocations: 8.275 MB / 0.5869 GB, free: 30.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.415, allocations: 64.56 kB / 0.587 GB, free: 30.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.4162, allocations: 0.7801 MB / 0.5877 GB, free: 29.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000177/0.4163, allocations: 41.05 kB / 0.5878 GB, free: 29.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.4166, allocations: 427.2 kB / 0.5882 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.4169, allocations: 288.6 kB / 0.5884 GB, free: 29.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/0.417, allocations: 19.69 kB / 0.5885 GB, free: 29.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.4171, allocations: 348 kB / 0.5888 GB, free: 28.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.4185, allocations: 0.7154 MB / 0.5895 GB, free: 28.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4201, allocations: 0.8288 MB / 0.5903 GB, free: 28.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.4216, allocations: 0.7544 MB / 0.591 GB, free: 27.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4216, allocations: 1.125 kB / 0.591 GB, free: 27.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01433/0.436, allocations: 4.938 MB / 0.5959 GB, free: 26.9 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.436, allocations: 7.125 kB / 0.5959 GB, free: 26.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.436, allocations: 2.953 kB / 0.5959 GB, free: 26.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006881/0.4429, allocations: 2.158 MB / 0.598 GB, free: 26.57 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/0.4438, allocations: 171.6 kB / 0.5981 GB, free: 26.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02263/0.4665, allocations: 9.797 MB / 0.6077 GB, free: 22.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.4679, allocations: 189.6 kB / 0.6079 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/0.468, allocations: 37.08 kB / 0.6079 GB, free: 22.28 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004304/0.4685, allocations: 230.5 kB / 0.6081 GB, free: 22.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.4686, allocations: 107.1 kB / 0.6082 GB, free: 22.03 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/0.4822, allocations: 4.721 MB / 0.6129 GB, free: 19.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4822, allocations: 8 kB / 0.6129 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4823, allocations: 0 / 0.6129 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.4823, allocations: 4.781 kB / 0.6129 GB, free: 19.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/0.4962, allocations: 6.236 MB / 0.619 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.4963, allocations: 0 / 0.619 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.4968, allocations: 96.58 kB / 0.619 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005718/0.5025, allocations: 2.055 MB / 0.6211 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.5026, allocations: 15.98 kB / 0.6211 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/0.5195, allocations: 8.652 MB / 0.6295 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.5195, allocations: 4.484 kB / 0.6295 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01506/0.5346, allocations: 5.661 MB / 0.635 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003681/0.535, allocations: 185.5 kB / 0.6352 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.5351, allocations: 15.95 kB / 0.6352 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000955/0.5361, allocations: 132 kB / 0.6354 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005657/0.5367, allocations: 200.6 kB / 0.6356 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.5368, allocations: 23.94 kB / 0.6356 GB, free: 11.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000637/0.5374, allocations: 0.5244 MB / 0.6361 GB, free: 11.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5374, allocations: 0 / 0.6361 GB, free: 11.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001229/0.5386, allocations: 403.5 kB / 0.6365 GB, free: 11.03 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01564/0.5543, allocations: 6.238 MB / 0.6426 GB, free: 4.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006775/0.5611, allocations: 2.558 MB / 0.6451 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5611, allocations: 0 / 0.6451 GB, free: 2.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00479/0.5659, allocations: 1.692 MB / 0.6467 GB, free: 496 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.5666, allocations: 68.84 kB / 0.6468 GB, free: 432 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/0.571, allocations: 3.772 MB / 0.6505 GB, free: 12.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.5717, allocations: 1.045 MB / 0.6515 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002719/0.572, allocations: 75.31 kB / 0.6516 GB, free: 11.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004361/0.5724, allocations: 377.4 kB / 0.6519 GB, free: 11.07 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5724, allocations: 0 / 0.6519 GB, free: 11.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.6152, allocations: 26.65 MB / 0.6779 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/0.6154, allocations: 207.5 kB / 0.6781 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.007, allocations: 0 / 0.6781 GB, free: 0.5547 MB / 478.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) Environment - environmentSimulation: