Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.001109/0.001109, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 222.9 MB / 239.3 MB, free: 4.598 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.001301/0.001301, allocations: 188.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.511/0.511, allocations: 91.9 MB / 431.6 MB, free: 9.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 79.88 kB / 0.502 GB, free: 7.613 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3083, allocations: 71.25 MB / 0.5716 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005233/0.3135, allocations: 5.761 MB / 0.5772 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003056/0.3166, allocations: 1.744 MB / 0.5789 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.3174, allocations: 8.656 kB / 0.5789 GB, free: 32.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.3181, allocations: 205.6 kB / 0.5791 GB, free: 32.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.3199, allocations: 0.6848 MB / 0.5798 GB, free: 31.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.321, allocations: 0.5678 MB / 0.5803 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.3222, allocations: 1.238 MB / 0.5815 GB, free: 30.93 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003612/0.3225, allocations: 279.5 kB / 0.5818 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.3231, allocations: 0.521 MB / 0.5823 GB, free: 30.55 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.3236, allocations: 0.6447 MB / 0.5829 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.3237, allocations: 87.09 kB / 0.583 GB, free: 30.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.3242, allocations: 222.1 kB / 0.5832 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000144/0.3243, allocations: 243.5 kB / 0.5835 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.3246, allocations: 0.5466 MB / 0.584 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009953/0.3256, allocations: 1.339 MB / 0.5853 GB, free: 29.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3257, allocations: 0 / 0.5853 GB, free: 29.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3257, allocations: 0 / 0.5853 GB, free: 29.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3257, allocations: 0 / 0.5853 GB, free: 29.05 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007594/0.3333, allocations: 2.358 MB / 0.5876 GB, free: 27.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3334, allocations: 9.562 kB / 0.5876 GB, free: 27.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.3335, allocations: 114 kB / 0.5877 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004997/0.3385, allocations: 0.7586 MB / 0.5885 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3396, allocations: 0.708 MB / 0.5892 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.3399, allocations: 256.6 kB / 0.5894 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.34, allocations: 67.44 kB / 0.5895 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.342, allocations: 0.9542 MB / 0.5904 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.342, allocations: 1.156 kB / 0.5904 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.549e-05/0.3421, allocations: 25.34 kB / 0.5904 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.3421, allocations: 15.47 kB / 0.5904 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/0.3442, allocations: 0.9795 MB / 0.5914 GB, free: 26.29 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.005155/0.3494, allocations: 3.179 MB / 0.5945 GB, free: 24.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.3514, allocations: 1.305 MB / 0.5958 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.3528, allocations: 0.707 MB / 0.5965 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-05/0.3529, allocations: 16.12 kB / 0.5965 GB, free: 23.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.3529, allocations: 38.66 kB / 0.5965 GB, free: 23.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.945e-06/0.3529, allocations: 0 / 0.5965 GB, free: 23.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02893/0.3819, allocations: 6.755 MB / 0.6031 GB, free: 22.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3819, allocations: 68.41 kB / 0.6032 GB, free: 21.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3831, allocations: 0.8002 MB / 0.604 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/0.3833, allocations: 41.48 kB / 0.604 GB, free: 21.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.3836, allocations: 432 kB / 0.6044 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002822/0.3839, allocations: 294.2 kB / 0.6047 GB, free: 20.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000357/0.3843, allocations: 183.6 kB / 0.6049 GB, free: 20.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.3843, allocations: 347.3 kB / 0.6052 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.3858, allocations: 0.653 MB / 0.6058 GB, free: 20.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.3874, allocations: 0.772 MB / 0.6066 GB, free: 19.98 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/0.4061, allocations: 4.503 MB / 0.611 GB, free: 18.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.4061, allocations: 1.094 kB / 0.611 GB, free: 18.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01398/0.4201, allocations: 4.124 MB / 0.615 GB, free: 16.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.4202, allocations: 5.594 kB / 0.615 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4202, allocations: 2.188 kB / 0.615 GB, free: 16.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/0.4266, allocations: 1.786 MB / 0.6168 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009209/0.4276, allocations: 171.7 kB / 0.6169 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/0.448, allocations: 9.343 MB / 0.6261 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.4495, allocations: 155 kB / 0.6262 GB, free: 6.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/0.4496, allocations: 35.98 kB / 0.6262 GB, free: 6.02 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003897/0.45, allocations: 226.5 kB / 0.6265 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.4502, allocations: 98.78 kB / 0.6266 GB, free: 5.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/0.4626, allocations: 3.84 MB / 0.6303 GB, free: 1.832 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.4626, allocations: 8 kB / 0.6303 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4627, allocations: 7.984 kB / 0.6303 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.4627, allocations: 3.984 kB / 0.6303 GB, free: 1.812 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.4778, allocations: 5.348 MB / 0.6355 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/0.4779, allocations: 0 / 0.6355 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/0.4785, allocations: 95.83 kB / 0.6356 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006255/0.4847, allocations: 1.741 MB / 0.6373 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.485, allocations: 23.92 kB / 0.6374 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.5042, allocations: 8.076 MB / 0.6452 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.5043, allocations: 0 / 0.6452 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01553/0.5198, allocations: 4.712 MB / 0.6498 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004007/0.5202, allocations: 187.7 kB / 0.65 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003568/0.5206, allocations: 16 kB / 0.65 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.5218, allocations: 87.89 kB / 0.6501 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007172/0.5225, allocations: 204.7 kB / 0.6503 GB, free: 13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.5227, allocations: 20 kB / 0.6503 GB, free: 12.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008521/0.5235, allocations: 0.5382 MB / 0.6509 GB, free: 12.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5235, allocations: 0 / 0.6509 GB, free: 12.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001539/0.5251, allocations: 403.6 kB / 0.6512 GB, free: 12.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.01583/0.5409, allocations: 5.288 MB / 0.6564 GB, free: 6.703 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007263/0.5482, allocations: 2.353 MB / 0.6587 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5483, allocations: 0 / 0.6587 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005119/0.5534, allocations: 1.502 MB / 0.6602 GB, free: 2.824 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.5545, allocations: 94.38 kB / 0.6603 GB, free: 2.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03885/0.5934, allocations: 14.59 MB / 0.6745 GB, free: 3.812 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.5942, allocations: 1.033 MB / 0.6755 GB, free: 2.754 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.5946, allocations: 82.11 kB / 0.6756 GB, free: 2.672 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005689/0.5952, allocations: 367.3 kB / 0.676 GB, free: 2.312 MB / 478.1 MB Notification: Performance of SimCode: time 6.72e-07/0.5952, allocations: 0 / 0.676 GB, free: 2.312 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06179/0.657, allocations: 30.71 MB / 0.7059 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.27, allocations: 15.12 kB / 0.706 GB, free: 3.707 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)