Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.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.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_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.001136/0.001137, allocations: 108 kB / 15.6 MB, free: 132 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.338/1.338, allocations: 222.9 MB / 239.3 MB, free: 4.586 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.001412/0.001412, allocations: 188.5 kB / 289.6 MB, free: 2.324 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4455/0.4455, allocations: 78.54 MB / 418.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 75.88 kB / 497.6 MB, free: 6.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1246, allocations: 68.18 MB / 0.5525 GB, free: 2.09 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.2144/0.339, allocations: 5.743 MB / 0.5581 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002896/0.342, allocations: 1.731 MB / 0.5598 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.3426, allocations: 9.219 kB / 0.5598 GB, free: 36.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000452/0.343, allocations: 208.6 kB / 0.56 GB, free: 36.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001381/0.3444, allocations: 0.688 MB / 0.5607 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.3455, allocations: 0.5485 MB / 0.5612 GB, free: 35.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.3466, allocations: 1.247 MB / 0.5624 GB, free: 35.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.3469, allocations: 262 kB / 0.5627 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005057/0.3474, allocations: 0.5198 MB / 0.5632 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005348/0.348, allocations: 0.6481 MB / 0.5638 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3481, allocations: 87.75 kB / 0.5639 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004077/0.3485, allocations: 224.3 kB / 0.5641 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001583/0.3487, allocations: 245.4 kB / 0.5643 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.349, allocations: 0.5486 MB / 0.5649 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.35, allocations: 1.337 MB / 0.5662 GB, free: 34.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.35, allocations: 4.562 kB / 0.5662 GB, free: 34.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3501, allocations: 0 / 0.5662 GB, free: 34.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.3501, allocations: 0.875 kB / 0.5662 GB, free: 34.8 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.006799/0.3569, allocations: 2.349 MB / 0.5685 GB, free: 33.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3569, allocations: 11.09 kB / 0.5685 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001165/0.3571, allocations: 119 kB / 0.5686 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004844/0.3619, allocations: 0.7616 MB / 0.5693 GB, free: 33.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008886/0.3628, allocations: 0.7103 MB / 0.57 GB, free: 33.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.363, allocations: 251.8 kB / 0.5703 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.3632, allocations: 69.81 kB / 0.5703 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.3649, allocations: 0.9533 MB / 0.5713 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.365, allocations: 2.688 kB / 0.5713 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-05/0.3651, allocations: 30.66 kB / 0.5713 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3651, allocations: 13.84 kB / 0.5713 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001885/0.367, allocations: 0.9756 MB / 0.5723 GB, free: 33.23 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.004537/0.3715, allocations: 3.177 MB / 0.5754 GB, free: 32.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.3732, allocations: 1.303 MB / 0.5766 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.3745, allocations: 0.7024 MB / 0.5773 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.602e-05/0.3746, allocations: 14.52 kB / 0.5773 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.3746, allocations: 44.97 kB / 0.5774 GB, free: 31.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/0.3746, allocations: 0 / 0.5774 GB, free: 31.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.0264/0.401, allocations: 6.762 MB / 0.584 GB, free: 30.18 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.4011, allocations: 64.41 kB / 0.584 GB, free: 30.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/0.4024, allocations: 0.799 MB / 0.5848 GB, free: 29.76 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.4026, allocations: 44.16 kB / 0.5849 GB, free: 29.71 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.4028, allocations: 434 kB / 0.5853 GB, free: 29.37 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002639/0.4031, allocations: 291.6 kB / 0.5856 GB, free: 29.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000345/0.4035, allocations: 180.7 kB / 0.5857 GB, free: 29.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.4035, allocations: 344 kB / 0.5861 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.4049, allocations: 0.6518 MB / 0.5867 GB, free: 28.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.4065, allocations: 0.7709 MB / 0.5874 GB, free: 28.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/0.425, allocations: 4.509 MB / 0.5919 GB, free: 26.9 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.425, allocations: 1.344 kB / 0.5919 GB, free: 26.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.0141/0.4391, allocations: 4.117 MB / 0.5959 GB, free: 25.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4392, allocations: 7.562 kB / 0.5959 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4392, allocations: 4.719 kB / 0.5959 GB, free: 25.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006478/0.4457, allocations: 1.791 MB / 0.5976 GB, free: 25.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008654/0.4466, allocations: 166.4 kB / 0.5978 GB, free: 25.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.4688, allocations: 9.339 MB / 0.6069 GB, free: 20.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.4702, allocations: 158.7 kB / 0.6071 GB, free: 20.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.4704, allocations: 36.7 kB / 0.6071 GB, free: 20.83 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.0004723/0.4709, allocations: 226.3 kB / 0.6073 GB, free: 20.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.4712, allocations: 103.2 kB / 0.6074 GB, free: 20.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0128/0.484, allocations: 3.829 MB / 0.6112 GB, free: 18.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.484, allocations: 9.031 kB / 0.6112 GB, free: 18.63 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.484, allocations: 0 / 0.6112 GB, free: 18.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.4841, allocations: 5.156 kB / 0.6112 GB, free: 18.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01435/0.4984, allocations: 5.355 MB / 0.6164 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.4985, allocations: 0 / 0.6164 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.499, allocations: 95.81 kB / 0.6165 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005603/0.5046, allocations: 1.745 MB / 0.6182 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.5048, allocations: 16.75 kB / 0.6182 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.5217, allocations: 8.078 MB / 0.6261 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5218, allocations: 0 / 0.6261 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0145/0.5363, allocations: 4.715 MB / 0.6307 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003326/0.5367, allocations: 188.4 kB / 0.6309 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/0.5369, allocations: 16 kB / 0.6309 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.538, allocations: 88.77 kB / 0.631 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/0.5386, allocations: 204.7 kB / 0.6312 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.559e-05/0.5387, allocations: 20 kB / 0.6312 GB, free: 13.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007237/0.5394, allocations: 0.5382 MB / 0.6317 GB, free: 13.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5395, allocations: 4 kB / 0.6317 GB, free: 13.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001327/0.5408, allocations: 403.6 kB / 0.6321 GB, free: 12.85 MB / 446.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.01579/0.5566, allocations: 5.285 MB / 0.6373 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007406/0.564, allocations: 2.35 MB / 0.6396 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5641, allocations: 0 / 0.6396 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005026/0.5691, allocations: 1.504 MB / 0.641 GB, free: 3.648 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009838/0.5701, allocations: 87.27 kB / 0.6411 GB, free: 3.562 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03929/0.6094, allocations: 14.59 MB / 0.6554 GB, free: 4.664 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/0.6101, allocations: 1.037 MB / 0.6564 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004079/0.6106, allocations: 80.81 kB / 0.6565 GB, free: 3.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.6111, allocations: 367.3 kB / 0.6568 GB, free: 3.164 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.6111, allocations: 4 kB / 0.6568 GB, free: 3.16 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06281/0.6739, allocations: 30.7 MB / 0.6868 GB, free: 4.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.12, allocations: 18.75 kB / 0.6868 GB, free: 4.762 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)