Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 175.2 kB / 15.42 MB, free: 5.844 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.8 MB / 239 MB, free: 15.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007442/0.0007442, allocations: 96.8 kB / 289.8 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3839/0.3839, allocations: 78.43 MB / 418.9 MB, free: 28 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 12 kB / 498.5 MB, free: 35.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3077, allocations: 68.73 MB / 0.554 GB, free: 10.45 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.005295/0.313, allocations: 6.032 MB / 0.5599 GB, free: 6.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.3159, allocations: 1.778 MB / 0.5616 GB, free: 5.219 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.3163, allocations: 11.47 kB / 0.5616 GB, free: 5.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004151/0.3167, allocations: 153.2 kB / 0.5617 GB, free: 5.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.3181, allocations: 0.611 MB / 0.5623 GB, free: 4.754 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3192, allocations: 0.5221 MB / 0.5629 GB, free: 4.461 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.3206, allocations: 1.169 MB / 0.564 GB, free: 3.883 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.321, allocations: 240.7 kB / 0.5642 GB, free: 3.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.3217, allocations: 470.8 kB / 0.5647 GB, free: 3.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.3224, allocations: 0.5737 MB / 0.5652 GB, free: 3.281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.3225, allocations: 46.5 kB / 0.5653 GB, free: 3.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.323, allocations: 181.5 kB / 0.5654 GB, free: 3.234 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.3232, allocations: 198.3 kB / 0.5656 GB, free: 3.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003845/0.3236, allocations: 498.8 kB / 0.5661 GB, free: 2.801 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.325, allocations: 1.26 MB / 0.5673 GB, free: 2.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.325, allocations: 4.656 kB / 0.5673 GB, free: 2.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.325, allocations: 0 / 0.5673 GB, free: 2.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.325, allocations: 1.438 kB / 0.5674 GB, free: 2.305 MB / 378.7 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.00689/0.3319, allocations: 2.128 MB / 0.5694 GB, free: 1.352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3319, allocations: 8.75 kB / 0.5694 GB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002117/0.3322, allocations: 112.4 kB / 0.5695 GB, free: 1.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005159/0.3373, allocations: 0.757 MB / 0.5703 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.3385, allocations: 0.7029 MB / 0.571 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00025/0.3387, allocations: 247 kB / 0.5712 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3389, allocations: 67.53 kB / 0.5713 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.3408, allocations: 0.9405 MB / 0.5722 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3409, allocations: 0 / 0.5722 GB, free: 48 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.3409, allocations: 25.44 kB / 0.5722 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.341, allocations: 21 kB / 0.5722 GB, free: 24 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.3431, allocations: 0.9726 MB / 0.5732 GB, free: 15.71 MB / 394.7 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.005365/0.3485, allocations: 3.149 MB / 0.5763 GB, free: 13.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.3505, allocations: 1.308 MB / 0.5775 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/0.3519, allocations: 0.6948 MB / 0.5782 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.352, allocations: 12.92 kB / 0.5782 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.352, allocations: 42.75 kB / 0.5783 GB, free: 12.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=81): time 2.535e-06/0.352, allocations: 0 / 0.5783 GB, free: 12.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=81): time 0.02559/0.3776, allocations: 6.708 MB / 0.5848 GB, free: 8.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3777, allocations: 64.22 kB / 0.5849 GB, free: 8.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3788, allocations: 0.7861 MB / 0.5856 GB, free: 8.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.3791, allocations: 40.86 kB / 0.5857 GB, free: 8.363 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.3794, allocations: 427.3 kB / 0.5861 GB, free: 7.988 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002982/0.3797, allocations: 295.6 kB / 0.5864 GB, free: 7.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.3798, allocations: 90.14 kB / 0.5865 GB, free: 7.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3799, allocations: 350.1 kB / 0.5868 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.3814, allocations: 0.6395 MB / 0.5874 GB, free: 7.012 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.3828, allocations: 0.7653 MB / 0.5882 GB, free: 6.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01694/0.3998, allocations: 4.443 MB / 0.5925 GB, free: 3.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.3998, allocations: 0 / 0.5925 GB, free: 3.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01293/0.4128, allocations: 4.035 MB / 0.5964 GB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.4128, allocations: 7.984 kB / 0.5965 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4129, allocations: 12 kB / 0.5965 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/0.419, allocations: 1.862 MB / 0.5983 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008633/0.4199, allocations: 167.7 kB / 0.5984 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0194/0.4393, allocations: 8.365 MB / 0.6066 GB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.4409, allocations: 151.1 kB / 0.6068 GB, free: 4.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.4411, allocations: 39.98 kB / 0.6068 GB, free: 4.637 MB / 410.7 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 (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 {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0006685/0.4418, allocations: 229.4 kB / 0.607 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.4422, allocations: 98.78 kB / 0.6071 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/0.4545, allocations: 3.817 MB / 0.6108 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/0.4546, allocations: 12 kB / 0.6108 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4546, allocations: 0 / 0.6108 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.98e-05/0.4546, allocations: 7.984 kB / 0.6109 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/0.4693, allocations: 5.32 MB / 0.616 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.4693, allocations: 0 / 0.616 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.4699, allocations: 95.81 kB / 0.6161 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005807/0.4757, allocations: 1.741 MB / 0.6178 GB, free: 9.148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.4759, allocations: 16 kB / 0.6179 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/0.4927, allocations: 7.359 MB / 0.625 GB, free: 1.633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4927, allocations: 3.938 kB / 0.625 GB, free: 1.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/0.5064, allocations: 4.677 MB / 0.6296 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/0.5068, allocations: 183.7 kB / 0.6298 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.5069, allocations: 19.98 kB / 0.6298 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000876/0.5078, allocations: 87.97 kB / 0.6299 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005978/0.5084, allocations: 200.6 kB / 0.6301 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.5085, allocations: 16 kB / 0.6301 GB, free: 12.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006377/0.5091, allocations: 0.5341 MB / 0.6306 GB, free: 11.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5091, allocations: 0 / 0.6306 GB, free: 11.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001106/0.5102, allocations: 403.5 kB / 0.631 GB, free: 11.49 MB / 442.7 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 (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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01393/0.5242, allocations: 5.261 MB / 0.6361 GB, free: 6.191 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006198/0.5304, allocations: 2.254 MB / 0.6383 GB, free: 3.922 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5304, allocations: 0 / 0.6383 GB, free: 3.922 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004422/0.5349, allocations: 1.453 MB / 0.6398 GB, free: 2.453 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007882/0.5357, allocations: 85.11 kB / 0.6398 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03434/0.57, allocations: 14.71 MB / 0.6542 GB, free: 3.344 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.5706, allocations: 1.033 MB / 0.6552 GB, free: 2.277 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.571, allocations: 82.17 kB / 0.6553 GB, free: 2.195 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.5714, allocations: 371.3 kB / 0.6556 GB, free: 1.832 MB / 458.7 MB Notification: Performance of SimCode: time 7.31e-07/0.5714, allocations: 0 / 0.6556 GB, free: 1.832 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.6151, allocations: 27.31 MB / 0.6823 GB, free: 6.668 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.6154, allocations: 227.7 kB / 0.6825 GB, free: 6.41 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/3.511, allocations: 3.938 kB / 0.6825 GB, free: 6.406 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)