Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_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.004755/0.004755, allocations: 101.2 kB / 15.73 MB, free: 5.996 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.396/1.396, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001557/0.001558, allocations: 192.4 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4645/0.4645, allocations: 78.52 MB / 418.4 MB, free: 3.113 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 83.88 kB / 0.5531 GB, free: 1.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3108, allocations: 68.17 MB / 0.6197 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004487/0.3153, allocations: 5.692 MB / 0.6253 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.318, allocations: 1.724 MB / 0.627 GB, free: 2.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000409/0.3184, allocations: 8 kB / 0.627 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.3188, allocations: 202.3 kB / 0.6272 GB, free: 2.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001261/0.3201, allocations: 0.682 MB / 0.6278 GB, free: 1.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.3211, allocations: 0.5573 MB / 0.6284 GB, free: 1.258 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008924/0.322, allocations: 1.229 MB / 0.6296 GB, free: 24 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.3225, allocations: 275 kB / 0.6298 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006005/0.3231, allocations: 0.5134 MB / 0.6303 GB, free: 15.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.3238, allocations: 0.63 MB / 0.6309 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.3239, allocations: 88 kB / 0.631 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.3244, allocations: 231.8 kB / 0.6313 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002127/0.3246, allocations: 239 kB / 0.6315 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.3251, allocations: 0.5359 MB / 0.632 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.3266, allocations: 1.351 MB / 0.6333 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3266, allocations: 0 / 0.6333 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3266, allocations: 0 / 0.6333 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3266, allocations: 0 / 0.6333 GB, free: 12.16 MB / 446.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.007565/0.3342, allocations: 2.359 MB / 0.6356 GB, free: 9.742 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.3343, allocations: 8.031 kB / 0.6356 GB, free: 9.734 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.3344, allocations: 118.5 kB / 0.6357 GB, free: 9.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004919/0.3393, allocations: 0.7641 MB / 0.6365 GB, free: 8.844 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.3406, allocations: 0.7096 MB / 0.6372 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003078/0.3409, allocations: 251.4 kB / 0.6374 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.3411, allocations: 72 kB / 0.6375 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.3431, allocations: 0.9394 MB / 0.6384 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3432, allocations: 4 kB / 0.6384 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-05/0.3433, allocations: 31.94 kB / 0.6384 GB, free: 6.754 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.3433, allocations: 16 kB / 0.6385 GB, free: 6.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.3455, allocations: 0.9733 MB / 0.6394 GB, free: 5.766 MB / 446.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.005314/0.3508, allocations: 3.136 MB / 0.6425 GB, free: 2.477 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002246/0.3531, allocations: 1.304 MB / 0.6437 GB, free: 1.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.3546, allocations: 0.6983 MB / 0.6444 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.3547, allocations: 12.64 kB / 0.6444 GB, free: 344 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.3547, allocations: 47.2 kB / 0.6445 GB, free: 288 kB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 2.454e-06/0.3547, allocations: 0 / 0.6445 GB, free: 288 kB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.0279/0.3826, allocations: 6.693 MB / 0.651 GB, free: 9.555 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.3827, allocations: 64 kB / 0.6511 GB, free: 9.477 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.3838, allocations: 0.7867 MB / 0.6519 GB, free: 8.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.384, allocations: 45.7 kB / 0.6519 GB, free: 8.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.3844, allocations: 437 kB / 0.6523 GB, free: 8.199 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.3847, allocations: 301.4 kB / 0.6526 GB, free: 7.902 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/0.3851, allocations: 174.6 kB / 0.6528 GB, free: 7.727 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3852, allocations: 349.9 kB / 0.6531 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.3868, allocations: 0.6425 MB / 0.6537 GB, free: 6.738 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/0.3884, allocations: 0.7588 MB / 0.6545 GB, free: 5.945 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01825/0.4067, allocations: 4.449 MB / 0.6588 GB, free: 1.461 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4067, allocations: 4 kB / 0.6588 GB, free: 1.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01418/0.4209, allocations: 4.044 MB / 0.6628 GB, free: 13.39 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.421, allocations: 8 kB / 0.6628 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.421, allocations: 0 / 0.6628 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006566/0.4276, allocations: 1.862 MB / 0.6646 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008552/0.4285, allocations: 167.7 kB / 0.6648 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.4516, allocations: 9.11 MB / 0.6737 GB, free: 2.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.453, allocations: 155.3 kB / 0.6738 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.817e-05/0.4531, allocations: 35.98 kB / 0.6738 GB, free: 1.914 MB / 478.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.0004721/0.4536, allocations: 229.5 kB / 0.6741 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.4538, allocations: 107.3 kB / 0.6742 GB, free: 1.574 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.4674, allocations: 3.817 MB / 0.6779 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.4674, allocations: 8 kB / 0.6779 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4675, allocations: 8 kB / 0.6779 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.4675, allocations: 3.984 kB / 0.6779 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.4831, allocations: 5.322 MB / 0.6831 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.4831, allocations: 0 / 0.6831 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.4837, allocations: 95.77 kB / 0.6832 GB, free: 8.172 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006334/0.49, allocations: 1.741 MB / 0.6849 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/0.4902, allocations: 16 kB / 0.6849 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/0.5105, allocations: 8.085 MB / 0.6928 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5105, allocations: 0 / 0.6928 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01577/0.5263, allocations: 4.693 MB / 0.6974 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.5267, allocations: 192.2 kB / 0.6976 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.5269, allocations: 19.94 kB / 0.6976 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009336/0.5278, allocations: 87.95 kB / 0.6977 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000659/0.5285, allocations: 200.7 kB / 0.6979 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.5286, allocations: 24 kB / 0.6979 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006952/0.5293, allocations: 0.5264 MB / 0.6984 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5293, allocations: 0 / 0.6984 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001092/0.5304, allocations: 403.7 kB / 0.6988 GB, free: 8.004 MB / 0.4981 GB 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.01607/0.5465, allocations: 5.261 MB / 0.7039 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006885/0.5534, allocations: 2.318 MB / 0.7062 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5534, allocations: 0 / 0.7062 GB, free: 384 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004837/0.5583, allocations: 1.503 MB / 0.7077 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.559, allocations: 83.25 kB / 0.7077 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03754/0.5965, allocations: 13.99 MB / 0.7214 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.5973, allocations: 1.025 MB / 0.7224 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003313/0.5976, allocations: 74.19 kB / 0.7225 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005039/0.5981, allocations: 383.3 kB / 0.7228 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.5981, allocations: 0 / 0.7228 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06902/0.6672, allocations: 30.61 MB / 0.7527 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/16.16, allocations: 7.938 kB / 0.7527 GB, free: 0.5859 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)