Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Order2test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2,fileNamePrefix="OpenIPSL_dev_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.006505/0.006505, allocations: 98.14 kB / 15.73 MB, free: 6.012 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.353/1.353, allocations: 222.9 MB / 239.4 MB, free: 4.496 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.001395/0.001395, allocations: 184.5 kB / 289.7 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5046/0.5046, allocations: 91.9 MB / 431.8 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 83.95 kB / 0.5722 GB, free: 33.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1253, allocations: 71.29 MB / 0.6419 GB, free: 4.055 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006307/0.1317, allocations: 5.701 MB / 0.6474 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003577/0.1353, allocations: 1.732 MB / 0.6491 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/0.1361, allocations: 8 kB / 0.6491 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006963/0.1368, allocations: 198.3 kB / 0.6493 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.139, allocations: 0.7291 MB / 0.65 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1404, allocations: 0.5574 MB / 0.6506 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001665/0.142, allocations: 1.229 MB / 0.6518 GB, free: 9.867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004895/0.1425, allocations: 287.2 kB / 0.6521 GB, free: 9.578 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007958/0.1433, allocations: 0.5095 MB / 0.6526 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008438/0.1442, allocations: 0.6338 MB / 0.6532 GB, free: 8.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00027/0.1445, allocations: 88 kB / 0.6533 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007983/0.1453, allocations: 223.9 kB / 0.6535 GB, free: 8.125 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.1456, allocations: 238.9 kB / 0.6537 GB, free: 7.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007048/0.1463, allocations: 0.5437 MB / 0.6542 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.1481, allocations: 1.342 MB / 0.6555 GB, free: 5.996 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1481, allocations: 0 / 0.6555 GB, free: 5.996 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1481, allocations: 0 / 0.6555 GB, free: 5.996 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.369e-05/0.1482, allocations: 0 / 0.6555 GB, free: 5.996 MB / 462.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.008055/0.1562, allocations: 2.359 MB / 0.6578 GB, free: 3.582 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1563, allocations: 12.03 kB / 0.6579 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.1565, allocations: 110.5 kB / 0.658 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/0.1616, allocations: 0.768 MB / 0.6587 GB, free: 2.684 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.163, allocations: 0.7096 MB / 0.6594 GB, free: 1.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.1634, allocations: 251.5 kB / 0.6596 GB, free: 1.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.1636, allocations: 64 kB / 0.6597 GB, free: 1.586 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.1658, allocations: 0.9549 MB / 0.6606 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1659, allocations: 0 / 0.6606 GB, free: 0.625 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.98e-05/0.166, allocations: 24 kB / 0.6607 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.166, allocations: 19.94 kB / 0.6607 GB, free: 0.582 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.1682, allocations: 0.9655 MB / 0.6616 GB, free: 15.62 MB / 478.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.005631/0.1738, allocations: 3.136 MB / 0.6647 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.1759, allocations: 1.317 MB / 0.666 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.1774, allocations: 0.6944 MB / 0.6666 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.034e-05/0.1775, allocations: 16.64 kB / 0.6667 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1775, allocations: 43.22 kB / 0.6667 GB, free: 10.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 4.388e-06/0.1775, allocations: 0 / 0.6667 GB, free: 10.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02726/0.2048, allocations: 6.701 MB / 0.6732 GB, free: 3.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.2049, allocations: 64 kB / 0.6733 GB, free: 3.312 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.206, allocations: 0.7983 MB / 0.6741 GB, free: 2.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.2062, allocations: 37.7 kB / 0.6741 GB, free: 2.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003166/0.2065, allocations: 429.1 kB / 0.6745 GB, free: 2.031 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003734/0.2069, allocations: 309.4 kB / 0.6748 GB, free: 1.727 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003898/0.2073, allocations: 178.6 kB / 0.675 GB, free: 1.543 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2074, allocations: 341.9 kB / 0.6753 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001472/0.2089, allocations: 0.6386 MB / 0.6759 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.2104, allocations: 0.7627 MB / 0.6767 GB, free: 15.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/0.2282, allocations: 4.446 MB / 0.681 GB, free: 11.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/0.2283, allocations: 7.938 kB / 0.681 GB, free: 11.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0137/0.242, allocations: 4.044 MB / 0.685 GB, free: 7.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.242, allocations: 4 kB / 0.685 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.2421, allocations: 4 kB / 0.685 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006496/0.2486, allocations: 1.866 MB / 0.6868 GB, free: 5.352 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.2494, allocations: 163.8 kB / 0.687 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02215/0.2716, allocations: 9.098 MB / 0.6959 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.273, allocations: 163.2 kB / 0.696 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000166/0.2732, allocations: 35.98 kB / 0.6961 GB, free: 11.74 MB / 0.4981 GB 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.0004924/0.2737, allocations: 216.6 kB / 0.6963 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.274, allocations: 111.3 kB / 0.6964 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.2874, allocations: 3.817 MB / 0.7001 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.2874, allocations: 8 kB / 0.7001 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2874, allocations: 0 / 0.7001 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.2875, allocations: 3.984 kB / 0.7001 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.3028, allocations: 5.329 MB / 0.7053 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.3028, allocations: 0 / 0.7053 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.3034, allocations: 91.83 kB / 0.7054 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006267/0.3096, allocations: 1.741 MB / 0.7071 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/0.3098, allocations: 19.94 kB / 0.7071 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01965/0.3295, allocations: 8.082 MB / 0.715 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3295, allocations: 0 / 0.715 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/0.3448, allocations: 4.697 MB / 0.7196 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.3452, allocations: 192.2 kB / 0.7198 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/0.3454, allocations: 16.06 kB / 0.7198 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.3465, allocations: 91.89 kB / 0.7199 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006288/0.3472, allocations: 196.7 kB / 0.7201 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.485e-05/0.3472, allocations: 16 kB / 0.7201 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007055/0.348, allocations: 0.5342 MB / 0.7206 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.348, allocations: 0 / 0.7206 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001342/0.3493, allocations: 403.7 kB / 0.721 GB, free: 1.844 MB / 0.5137 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.01547/0.3648, allocations: 5.265 MB / 0.7261 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006992/0.3719, allocations: 2.322 MB / 0.7284 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3719, allocations: 3.938 kB / 0.7284 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004822/0.3767, allocations: 1.499 MB / 0.7299 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.3776, allocations: 75.31 kB / 0.7299 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03672/0.4144, allocations: 14 MB / 0.7436 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000736/0.4152, allocations: 1.025 MB / 0.7446 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003447/0.4155, allocations: 74.19 kB / 0.7447 GB, free: 9.309 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.4161, allocations: 379.3 kB / 0.745 GB, free: 8.938 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.4161, allocations: 0 / 0.745 GB, free: 8.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3475/0.7636, allocations: 30.61 MB / 0.7749 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.55, allocations: 2.188 kB / 0.7749 GB, free: 119.5 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)