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.007162/0.007169, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.329/1.329, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001385/0.001385, allocations: 188.5 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.4514/0.4514, allocations: 78.53 MB / 418.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 71.83 kB / 0.5531 GB, free: 1.492 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3174, allocations: 68.17 MB / 0.6197 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.004388/0.3218, allocations: 5.686 MB / 0.6253 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.324, allocations: 1.724 MB / 0.627 GB, free: 2.758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.3242, allocations: 12 kB / 0.627 GB, free: 2.746 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.3246, allocations: 202.3 kB / 0.6272 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.3257, allocations: 0.727 MB / 0.6279 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008182/0.3266, allocations: 0.5581 MB / 0.6284 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007239/0.3273, allocations: 1.229 MB / 0.6296 GB, free: 36 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.3277, allocations: 275.1 kB / 0.6299 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005032/0.3282, allocations: 0.5173 MB / 0.6304 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00061/0.3288, allocations: 0.6339 MB / 0.631 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3289, allocations: 88 kB / 0.6311 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003421/0.3293, allocations: 223.9 kB / 0.6313 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.3295, allocations: 234.9 kB / 0.6315 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.3299, allocations: 0.5398 MB / 0.632 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3312, allocations: 1.351 MB / 0.6334 GB, free: 12.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3312, allocations: 0 / 0.6334 GB, free: 12.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3312, allocations: 0 / 0.6334 GB, free: 12.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3312, allocations: 0 / 0.6334 GB, free: 12.17 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.007168/0.3384, allocations: 2.363 MB / 0.6357 GB, free: 9.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3384, allocations: 8.031 kB / 0.6357 GB, free: 9.742 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.3386, allocations: 114.5 kB / 0.6358 GB, free: 9.621 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004842/0.3434, allocations: 0.7641 MB / 0.6365 GB, free: 8.855 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3445, allocations: 0.7135 MB / 0.6372 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002938/0.3448, allocations: 255.4 kB / 0.6375 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.345, allocations: 64 kB / 0.6375 GB, free: 7.746 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/0.347, allocations: 0.9511 MB / 0.6385 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.347, allocations: 0 / 0.6385 GB, free: 6.789 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/0.3471, allocations: 24 kB / 0.6385 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.3471, allocations: 16 kB / 0.6385 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/0.3492, allocations: 0.9694 MB / 0.6395 GB, free: 5.781 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.004885/0.3541, allocations: 3.136 MB / 0.6425 GB, free: 2.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/0.356, allocations: 1.314 MB / 0.6438 GB, free: 1.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.3574, allocations: 0.6944 MB / 0.6445 GB, free: 372 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.893e-05/0.3575, allocations: 8.656 kB / 0.6445 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.3575, allocations: 47.2 kB / 0.6445 GB, free: 304 kB / 446.1 MB Notification: Performance of pre-optimization done (n=81): time 3.256e-06/0.3575, allocations: 0 / 0.6445 GB, free: 304 kB / 446.1 MB Notification: Performance of matching and sorting (n=81): time 0.02614/0.3837, allocations: 6.705 MB / 0.6511 GB, free: 9.559 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.3838, allocations: 64 kB / 0.6511 GB, free: 9.48 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3849, allocations: 0.7866 MB / 0.6519 GB, free: 8.688 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.385, allocations: 41.7 kB / 0.6519 GB, free: 8.641 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.3853, allocations: 441 kB / 0.6524 GB, free: 8.203 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.3856, allocations: 297.4 kB / 0.6527 GB, free: 7.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.386, allocations: 178.6 kB / 0.6528 GB, free: 7.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.3862, allocations: 345.9 kB / 0.6532 GB, free: 7.387 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.3876, allocations: 0.6425 MB / 0.6538 GB, free: 6.746 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.3891, allocations: 0.7628 MB / 0.6545 GB, free: 5.949 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01723/0.4063, allocations: 4.446 MB / 0.6589 GB, free: 1.469 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4063, allocations: 3.938 kB / 0.6589 GB, free: 1.465 MB / 462.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01337/0.4197, allocations: 4.044 MB / 0.6628 GB, free: 13.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.4198, allocations: 8 kB / 0.6628 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.4198, allocations: 4 kB / 0.6628 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006322/0.4261, allocations: 1.862 MB / 0.6646 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008268/0.427, allocations: 155.8 kB / 0.6648 GB, free: 11.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02228/0.4493, allocations: 9.111 MB / 0.6737 GB, free: 2.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.4508, allocations: 159.2 kB / 0.6738 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.451, allocations: 35.94 kB / 0.6739 GB, free: 1.922 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.0006138/0.4517, allocations: 229.6 kB / 0.6741 GB, free: 1.688 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.452, allocations: 107.3 kB / 0.6742 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01296/0.4649, allocations: 3.821 MB / 0.6779 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.465, allocations: 8 kB / 0.6779 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.465, allocations: 0 / 0.6779 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/0.465, allocations: 3.984 kB / 0.6779 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01519/0.4802, allocations: 5.322 MB / 0.6831 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.4803, allocations: 0 / 0.6831 GB, free: 8.277 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005416/0.4808, allocations: 95.83 kB / 0.6832 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006194/0.487, allocations: 1.741 MB / 0.6849 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/0.4872, allocations: 15.98 kB / 0.6849 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.5065, allocations: 8.081 MB / 0.6928 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5065, allocations: 0 / 0.6928 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/0.5214, allocations: 4.697 MB / 0.6974 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/0.5218, allocations: 200.2 kB / 0.6976 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.5221, allocations: 20 kB / 0.6976 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.5232, allocations: 87.89 kB / 0.6977 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00064/0.5238, allocations: 204.7 kB / 0.6979 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.5239, allocations: 16 kB / 0.6979 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007775/0.5247, allocations: 0.5381 MB / 0.6985 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5247, allocations: 0 / 0.6985 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001421/0.5261, 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.01502/0.5412, allocations: 5.261 MB / 0.704 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006629/0.5478, allocations: 2.307 MB / 0.7062 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5479, allocations: 0 / 0.7062 GB, free: 396 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004608/0.5525, allocations: 1.503 MB / 0.7077 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.5534, allocations: 81.95 kB / 0.7078 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/0.5903, allocations: 13.99 MB / 0.7214 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/0.5911, allocations: 1.025 MB / 0.7224 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003556/0.5914, allocations: 82.17 kB / 0.7225 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.592, allocations: 375.3 kB / 0.7229 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.592, allocations: 0 / 0.7229 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/0.6545, allocations: 30.6 MB / 0.7528 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/15.4, allocations: 6.438 kB / 0.7528 GB, free: 0.5977 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)