Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1175/0.1175, allocations: 12.19 MB / 27.15 MB, free: 1.535 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009149/0.000915, allocations: 104.1 kB / 30.66 MB, free: 4.883 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.299/1.299, allocations: 205.4 MB / 239.5 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 185.1 kB / 290.6 MB, free: 14.06 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4297/0.4297, allocations: 78.51 MB / 420.1 MB, free: 12.27 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008483/0.0008484, allocations: 24 kB / 0.4895 GB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2593, allocations: 69.22 MB / 0.5571 GB, free: 21.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.003406/0.2628, allocations: 5.025 MB / 0.562 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002167/0.265, allocations: 1.667 MB / 0.5636 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.2653, allocations: 15.94 kB / 0.5637 GB, free: 14.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.2656, allocations: 139 kB / 0.5638 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.2667, allocations: 0.6333 MB / 0.5644 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.2676, allocations: 479.1 kB / 0.5649 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006953/0.2683, allocations: 0.8068 MB / 0.5656 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.2685, allocations: 211.3 kB / 0.5658 GB, free: 12.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003374/0.2689, allocations: 454.2 kB / 0.5663 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004133/0.2693, allocations: 0.5445 MB / 0.5668 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.345e-05/0.2694, allocations: 44 kB / 0.5669 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.2697, allocations: 159.8 kB / 0.567 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001154/0.2698, allocations: 187.1 kB / 0.5672 GB, free: 10.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2699, allocations: 197.1 kB / 0.5674 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.2705, allocations: 0.9351 MB / 0.5683 GB, free: 9.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.2705, allocations: 4 kB / 0.5683 GB, free: 9.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2705, allocations: 0 / 0.5683 GB, free: 9.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.2705, allocations: 7.938 kB / 0.5683 GB, free: 9.629 MB / 382.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.006261/0.2768, allocations: 2.174 MB / 0.5704 GB, free: 7.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.2768, allocations: 11.98 kB / 0.5704 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001369/0.277, allocations: 118.5 kB / 0.5705 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004667/0.2816, allocations: 0.7634 MB / 0.5713 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008577/0.2825, allocations: 0.6667 MB / 0.5719 GB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.2827, allocations: 263.4 kB / 0.5722 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.2829, allocations: 71.91 kB / 0.5723 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.2846, allocations: 1.01 MB / 0.5732 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.2846, allocations: 0 / 0.5732 GB, free: 4.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.632e-05/0.2847, allocations: 24 kB / 0.5733 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2847, allocations: 16 kB / 0.5733 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.2866, allocations: 1.051 MB / 0.5743 GB, free: 3.32 MB / 382.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.00428/0.2908, allocations: 3.318 MB / 0.5776 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.293, allocations: 1.383 MB / 0.5789 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.843e-05/0.2931, allocations: 20.64 kB / 0.5789 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.2931, allocations: 39.22 kB / 0.579 GB, free: 14.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 2.745e-06/0.2931, allocations: 0 / 0.579 GB, free: 14.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02849/0.3216, allocations: 8.279 MB / 0.587 GB, free: 5.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.3217, allocations: 60.06 kB / 0.5871 GB, free: 5.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.3227, allocations: 0.7787 MB / 0.5879 GB, free: 5.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.3229, allocations: 41.7 kB / 0.5879 GB, free: 5.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.3232, allocations: 428.4 kB / 0.5883 GB, free: 4.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/0.3235, allocations: 295.8 kB / 0.5886 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.3236, allocations: 20 kB / 0.5886 GB, free: 4.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.3237, allocations: 341.9 kB / 0.5889 GB, free: 3.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.3252, allocations: 0.7128 MB / 0.5896 GB, free: 3.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3268, allocations: 0.833 MB / 0.5904 GB, free: 2.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.3284, allocations: 0.7576 MB / 0.5912 GB, free: 1.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3285, allocations: 0 / 0.5912 GB, free: 1.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01436/0.3428, allocations: 4.934 MB / 0.596 GB, free: 12.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.3429, allocations: 4 kB / 0.596 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.3429, allocations: 4 kB / 0.596 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006805/0.3497, allocations: 2.167 MB / 0.5981 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.3506, allocations: 163.8 kB / 0.5983 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/0.3728, allocations: 9.808 MB / 0.6079 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.3742, allocations: 187.1 kB / 0.608 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.3743, allocations: 35.98 kB / 0.6081 GB, free: 168 kB / 414.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.0004276/0.3747, allocations: 221.7 kB / 0.6083 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.3749, allocations: 106.7 kB / 0.6084 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/0.3887, allocations: 4.719 MB / 0.613 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.3887, allocations: 8 kB / 0.613 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3887, allocations: 0 / 0.613 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.3888, allocations: 3.984 kB / 0.613 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.4044, allocations: 6.239 MB / 0.6191 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/0.4044, allocations: 0 / 0.6191 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005502/0.405, allocations: 91.88 kB / 0.6192 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006476/0.4115, allocations: 2.065 MB / 0.6212 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.4117, allocations: 12 kB / 0.6212 GB, free: 2.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01969/0.4314, allocations: 8.66 MB / 0.6297 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4314, allocations: 0 / 0.6297 GB, free: 9.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/0.4474, allocations: 5.665 MB / 0.6352 GB, free: 4.047 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003874/0.4478, allocations: 187.6 kB / 0.6354 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.448, allocations: 12 kB / 0.6354 GB, free: 3.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009752/0.449, allocations: 132 kB / 0.6355 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005863/0.4496, allocations: 200.6 kB / 0.6357 GB, free: 3.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.4496, allocations: 20 kB / 0.6357 GB, free: 3.484 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006854/0.4503, allocations: 0.5263 MB / 0.6362 GB, free: 2.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4503, allocations: 0 / 0.6362 GB, free: 2.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001233/0.4516, allocations: 399.6 kB / 0.6366 GB, free: 2.57 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.01618/0.4678, allocations: 6.233 MB / 0.6427 GB, free: 12.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00688/0.4747, allocations: 2.547 MB / 0.6452 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/0.4748, allocations: 0 / 0.6452 GB, free: 9.738 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004981/0.4797, allocations: 1.701 MB / 0.6469 GB, free: 8.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.4804, allocations: 67.25 kB / 0.6469 GB, free: 7.969 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.4849, allocations: 3.772 MB / 0.6506 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.4856, allocations: 1.045 MB / 0.6516 GB, free: 3.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003018/0.4859, allocations: 70.2 kB / 0.6517 GB, free: 2.977 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.4864, allocations: 375.3 kB / 0.6521 GB, free: 2.609 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.4864, allocations: 0 / 0.6521 GB, free: 2.609 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.5342, allocations: 26.65 MB / 0.6781 GB, free: 8.059 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003674/0.5346, allocations: 204 kB / 0.6783 GB, free: 7.812 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.058, allocations: 3.938 kB / 0.6783 GB, free: 7.809 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1) Environment - environmentSimulation: