Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.001083/0.001083, 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.41/1.41, allocations: 222.9 MB / 239.3 MB, free: 4.621 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.001428/0.001428, allocations: 192.4 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4479/0.4479, allocations: 78.53 MB / 418.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 79.88 kB / 497.5 MB, free: 6.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1213, allocations: 68.18 MB / 0.5525 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2117/0.333, allocations: 5.778 MB / 0.5581 GB, free: 36.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003109/0.3361, allocations: 1.74 MB / 0.5598 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007571/0.3369, allocations: 12.84 kB / 0.5598 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005721/0.3375, allocations: 204.3 kB / 0.56 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.3393, allocations: 0.6889 MB / 0.5607 GB, free: 35.81 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.3406, allocations: 0.563 MB / 0.5612 GB, free: 35.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.342, allocations: 1.25 MB / 0.5625 GB, free: 35.67 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.3424, allocations: 272.1 kB / 0.5627 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007488/0.3432, allocations: 0.5186 MB / 0.5632 GB, free: 35.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.3439, allocations: 0.6445 MB / 0.5639 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.3441, allocations: 90.94 kB / 0.5639 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004371/0.3445, allocations: 220.7 kB / 0.5642 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000157/0.3447, allocations: 242.3 kB / 0.5644 GB, free: 35.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000392/0.3451, allocations: 0.5439 MB / 0.5649 GB, free: 35.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.3463, allocations: 1.354 MB / 0.5662 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.3463, allocations: 1.25 kB / 0.5662 GB, free: 34.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3463, allocations: 1.031 kB / 0.5662 GB, free: 34.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.3463, allocations: 0 / 0.5662 GB, free: 34.7 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00716/0.3535, allocations: 2.347 MB / 0.5685 GB, free: 33.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3535, allocations: 8.531 kB / 0.5685 GB, free: 33.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001464/0.3537, allocations: 115.3 kB / 0.5687 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/0.3585, allocations: 0.7605 MB / 0.5694 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.3595, allocations: 0.7009 MB / 0.5701 GB, free: 33.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.3598, allocations: 250.5 kB / 0.5703 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.36, allocations: 67.47 kB / 0.5704 GB, free: 33.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.3618, allocations: 0.9645 MB / 0.5713 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3619, allocations: 0 / 0.5713 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.327e-05/0.362, allocations: 29.06 kB / 0.5714 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.362, allocations: 16.75 kB / 0.5714 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.3639, allocations: 0.9781 MB / 0.5723 GB, free: 33.14 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.004861/0.3688, allocations: 3.18 MB / 0.5754 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3706, allocations: 1.306 MB / 0.5767 GB, free: 31.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/0.3719, allocations: 0.705 MB / 0.5774 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.969e-05/0.372, allocations: 17.58 kB / 0.5774 GB, free: 31.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.372, allocations: 46.91 kB / 0.5775 GB, free: 31.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.927e-06/0.372, allocations: 2.75 kB / 0.5775 GB, free: 31.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02503/0.3971, allocations: 6.478 MB / 0.5838 GB, free: 30.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.3972, allocations: 70.92 kB / 0.5839 GB, free: 30 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3984, allocations: 0.7866 MB / 0.5846 GB, free: 29.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.3986, allocations: 42.05 kB / 0.5847 GB, free: 29.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.3988, allocations: 438.8 kB / 0.5851 GB, free: 29.28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.3992, allocations: 299.4 kB / 0.5854 GB, free: 29.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.3995, allocations: 185.8 kB / 0.5855 GB, free: 28.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.374e-05/0.3996, allocations: 344.8 kB / 0.5859 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.401, allocations: 0.6622 MB / 0.5865 GB, free: 28.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.4025, allocations: 0.7807 MB / 0.5873 GB, free: 28.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0182/0.4207, allocations: 4.536 MB / 0.5917 GB, free: 26.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.4208, allocations: 2.031 kB / 0.5917 GB, free: 26.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01365/0.4344, allocations: 4.077 MB / 0.5957 GB, free: 25.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4345, allocations: 6.281 kB / 0.5957 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.4345, allocations: 3.594 kB / 0.5957 GB, free: 25.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006134/0.4407, allocations: 1.741 MB / 0.5974 GB, free: 25.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009929/0.4417, allocations: 186.9 kB / 0.5976 GB, free: 25.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/0.4635, allocations: 9.05 MB / 0.6064 GB, free: 21.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.465, allocations: 156.7 kB / 0.6066 GB, free: 21.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-05/0.4651, allocations: 37.34 kB / 0.6066 GB, free: 21.1 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (101): * Single equations (assignments): 100 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.4655, allocations: 229 kB / 0.6068 GB, free: 20.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.4657, allocations: 108.7 kB / 0.6069 GB, free: 20.85 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.4783, allocations: 3.811 MB / 0.6107 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.4783, allocations: 12.22 kB / 0.6107 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.4783, allocations: 0 / 0.6107 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.991e-05/0.4784, allocations: 3.984 kB / 0.6107 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01354/0.4919, allocations: 5.386 MB / 0.6159 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.492, allocations: 0 / 0.6159 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.4925, allocations: 87.89 kB / 0.616 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005457/0.4979, allocations: 1.748 MB / 0.6177 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.362e-05/0.498, allocations: 12 kB / 0.6177 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/0.5146, allocations: 8.066 MB / 0.6256 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5146, allocations: 0 / 0.6256 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01389/0.5285, allocations: 4.743 MB / 0.6302 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.5289, allocations: 196.1 kB / 0.6304 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.5291, allocations: 16 kB / 0.6304 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000972/0.5301, allocations: 85.58 kB / 0.6305 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006353/0.5308, allocations: 204.7 kB / 0.6307 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.5308, allocations: 24 kB / 0.6307 GB, free: 14.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006893/0.5315, allocations: 0.5341 MB / 0.6313 GB, free: 13.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5315, allocations: 0 / 0.6313 GB, free: 13.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001259/0.5328, allocations: 411.5 kB / 0.6317 GB, free: 13.45 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (50): * Single equations (assignments): 49 * 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.01506/0.5479, allocations: 5.317 MB / 0.6368 GB, free: 8.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006789/0.5547, allocations: 2.33 MB / 0.6391 GB, free: 5.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.5547, allocations: 4.062 kB / 0.6391 GB, free: 5.754 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004601/0.5593, allocations: 1.514 MB / 0.6406 GB, free: 4.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007147/0.5601, allocations: 80.59 kB / 0.6407 GB, free: 4.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0362/0.5963, allocations: 14.61 MB / 0.6549 GB, free: 5.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.597, allocations: 1.029 MB / 0.656 GB, free: 4.191 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00038/0.5974, allocations: 80.33 kB / 0.656 GB, free: 4.113 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/0.5979, allocations: 375.3 kB / 0.6564 GB, free: 3.746 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5979, allocations: 0 / 0.6564 GB, free: 3.746 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.6575, allocations: 30.6 MB / 0.6863 GB, free: 5.441 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/12.12, allocations: 4.062 kB / 0.6863 GB, free: 5.438 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)