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-master/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-master/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-master/package.mo): time 0.08151/0.08151, allocations: 12.6 MB / 28.1 MB, free: 0.8203 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.001063/0.001063, allocations: 111.5 kB / 31.7 MB, free: 3.949 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.33/1.33, allocations: 205.1 MB / 240.3 MB, free: 12.43 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.001309/0.001309, allocations: 188.5 kB / 290.5 MB, free: 13.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4302/0.4302, allocations: 78.5 MB / 419.2 MB, free: 11.34 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.00271/0.00271, allocations: 143.8 kB / 499.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3495, allocations: 68.1 MB / 0.5547 GB, free: 32.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.00551/0.3551, allocations: 5.741 MB / 0.5603 GB, free: 28.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.3579, allocations: 1.695 MB / 0.5619 GB, free: 27.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000355/0.3582, allocations: 9.906 kB / 0.5619 GB, free: 27.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.3586, allocations: 205.7 kB / 0.5621 GB, free: 26.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.3599, allocations: 0.6744 MB / 0.5628 GB, free: 26.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000971/0.3609, allocations: 0.5568 MB / 0.5633 GB, free: 26.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000987/0.3619, allocations: 1.221 MB / 0.5645 GB, free: 25.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003505/0.3623, allocations: 282.4 kB / 0.5648 GB, free: 25.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005266/0.3628, allocations: 0.5007 MB / 0.5653 GB, free: 24.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.3634, allocations: 0.6406 MB / 0.5659 GB, free: 24.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.3636, allocations: 85.75 kB / 0.566 GB, free: 24.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004123/0.364, allocations: 223.6 kB / 0.5662 GB, free: 24.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.3641, allocations: 235.1 kB / 0.5664 GB, free: 24.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.3645, allocations: 0.5436 MB / 0.567 GB, free: 23.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009804/0.3655, allocations: 1.326 MB / 0.5683 GB, free: 22.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3655, allocations: 0 / 0.5683 GB, free: 22.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3655, allocations: 1.094 kB / 0.5683 GB, free: 22.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.3655, allocations: 0 / 0.5683 GB, free: 22.73 MB / 398.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.006986/0.3725, allocations: 2.336 MB / 0.5705 GB, free: 21.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3725, allocations: 12.7 kB / 0.5706 GB, free: 21.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.3727, allocations: 117.9 kB / 0.5707 GB, free: 21.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/0.3774, allocations: 0.7554 MB / 0.5714 GB, free: 20.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.3784, allocations: 0.7023 MB / 0.5721 GB, free: 20.26 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.3786, allocations: 245.6 kB / 0.5723 GB, free: 20.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.3788, allocations: 68.12 kB / 0.5724 GB, free: 20.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.3806, allocations: 0.9433 MB / 0.5733 GB, free: 19.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.3806, allocations: 0 / 0.5733 GB, free: 19.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.417e-05/0.3807, allocations: 30.19 kB / 0.5733 GB, free: 19.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3807, allocations: 14.94 kB / 0.5734 GB, free: 19.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.3828, allocations: 0.9699 MB / 0.5743 GB, free: 19 MB / 398.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.00435/0.3871, allocations: 3.154 MB / 0.5774 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/0.3889, allocations: 1.309 MB / 0.5787 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.3901, allocations: 0.6983 MB / 0.5793 GB, free: 13.8 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.311e-05/0.3902, allocations: 12.66 kB / 0.5794 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.3902, allocations: 43.22 kB / 0.5794 GB, free: 13.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=81): time 3.136e-06/0.3902, allocations: 0 / 0.5794 GB, free: 13.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=81): time 0.02446/0.4147, allocations: 6.7 MB / 0.5859 GB, free: 6.996 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.4148, allocations: 67.98 kB / 0.586 GB, free: 6.918 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009353/0.4157, allocations: 0.7828 MB / 0.5868 GB, free: 6.125 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001584/0.4159, allocations: 41.64 kB / 0.5868 GB, free: 6.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.4161, allocations: 420.5 kB / 0.5872 GB, free: 5.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.4164, allocations: 299.8 kB / 0.5875 GB, free: 5.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003065/0.4168, allocations: 174.5 kB / 0.5877 GB, free: 5.188 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.4168, allocations: 345.9 kB / 0.588 GB, free: 4.844 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4181, allocations: 0.6386 MB / 0.5886 GB, free: 4.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001305/0.4194, allocations: 0.7666 MB / 0.5894 GB, free: 3.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/0.4357, allocations: 4.464 MB / 0.5937 GB, free: 14.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.4357, allocations: 4 kB / 0.5937 GB, free: 14.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01324/0.449, allocations: 4.035 MB / 0.5977 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.449, allocations: 8 kB / 0.5977 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4491, allocations: 0 / 0.5977 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/0.4553, allocations: 1.866 MB / 0.5995 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.4561, allocations: 159.8 kB / 0.5997 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/0.4775, allocations: 9.101 MB / 0.6085 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.479, allocations: 155 kB / 0.6087 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.4791, allocations: 39.92 kB / 0.6087 GB, free: 15.38 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 (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.0004377/0.4795, allocations: 222.2 kB / 0.6089 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001818/0.4797, allocations: 102.8 kB / 0.609 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.4927, allocations: 3.817 MB / 0.6128 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.4927, allocations: 11.94 kB / 0.6128 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.4927, allocations: 0 / 0.6128 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.538e-05/0.4927, allocations: 3.984 kB / 0.6128 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01468/0.5074, allocations: 5.332 MB / 0.618 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.5075, allocations: 0 / 0.618 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004875/0.508, allocations: 87.83 kB / 0.6181 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006018/0.514, allocations: 1.753 MB / 0.6198 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.391e-05/0.5141, allocations: 12 kB / 0.6198 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/0.5328, allocations: 8.084 MB / 0.6277 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5328, allocations: 0 / 0.6277 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/0.5475, allocations: 4.688 MB / 0.6323 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/0.5479, allocations: 191.5 kB / 0.6325 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.5481, allocations: 12 kB / 0.6325 GB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009272/0.549, allocations: 95.83 kB / 0.6326 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006232/0.5497, allocations: 204.6 kB / 0.6328 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.21e-05/0.5498, allocations: 19.94 kB / 0.6328 GB, free: 6.395 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006842/0.5505, allocations: 0.5341 MB / 0.6333 GB, free: 5.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5505, allocations: 0 / 0.6333 GB, free: 5.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001273/0.5517, allocations: 399.6 kB / 0.6337 GB, free: 5.473 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 (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.01485/0.5666, allocations: 5.257 MB / 0.6388 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006767/0.5734, allocations: 2.326 MB / 0.6411 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5735, allocations: 0 / 0.6411 GB, free: 13.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004601/0.5781, allocations: 1.496 MB / 0.6425 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008068/0.5789, allocations: 75.31 kB / 0.6426 GB, free: 12.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03601/0.6149, allocations: 14.38 MB / 0.6567 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.6156, allocations: 1.025 MB / 0.6577 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003455/0.616, allocations: 82.17 kB / 0.6577 GB, free: 12.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/0.6165, allocations: 379.3 kB / 0.6581 GB, free: 12.06 MB / 478.1 MB Notification: Performance of SimCode: time 7.02e-07/0.6165, allocations: 4 kB / 0.6581 GB, free: 12.05 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06729/0.6838, allocations: 30.25 MB / 0.6876 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.32, allocations: 9.594 kB / 0.6877 GB, free: 13.84 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)