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.004779/0.004779, allocations: 100.6 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.367/1.367, allocations: 222.9 MB / 239.4 MB, free: 4.508 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.001706/0.001706, allocations: 188.5 kB / 289.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5142/0.5142, allocations: 91.97 MB / 431.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 85.08 kB / 0.5723 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1292, allocations: 71.3 MB / 0.642 GB, free: 3.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.006451/0.1357, allocations: 5.687 MB / 0.6475 GB, free: 14.26 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003411/0.1391, allocations: 1.735 MB / 0.6492 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005577/0.1397, allocations: 15.94 kB / 0.6492 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000493/0.1402, allocations: 194.3 kB / 0.6494 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.1419, allocations: 0.6881 MB / 0.6501 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1431, allocations: 0.5573 MB / 0.6506 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001485/0.1446, allocations: 1.229 MB / 0.6518 GB, free: 9.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.145, allocations: 279.3 kB / 0.6521 GB, free: 9.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006698/0.1457, allocations: 0.5134 MB / 0.6526 GB, free: 9.035 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.1465, allocations: 0.6338 MB / 0.6532 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.1466, allocations: 88 kB / 0.6533 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.1471, allocations: 223.9 kB / 0.6535 GB, free: 8.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.1473, allocations: 238.9 kB / 0.6537 GB, free: 7.859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.1478, allocations: 0.5437 MB / 0.6543 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.1494, allocations: 1.334 MB / 0.6556 GB, free: 5.973 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1494, allocations: 4 kB / 0.6556 GB, free: 5.969 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1494, allocations: 0 / 0.6556 GB, free: 5.969 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.428e-05/0.1494, allocations: 0 / 0.6556 GB, free: 5.969 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.007476/0.1569, allocations: 2.359 MB / 0.6579 GB, free: 3.555 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.157, allocations: 16.02 kB / 0.6579 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.1571, allocations: 114.5 kB / 0.658 GB, free: 3.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004868/0.162, allocations: 0.768 MB / 0.6588 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.1633, allocations: 0.7096 MB / 0.6595 GB, free: 1.898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003093/0.1636, allocations: 251.5 kB / 0.6597 GB, free: 1.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/0.1637, allocations: 64 kB / 0.6598 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.1658, allocations: 0.9472 MB / 0.6607 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1659, allocations: 0 / 0.6607 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/0.1659, allocations: 24 kB / 0.6607 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.166, allocations: 20 kB / 0.6607 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.1682, allocations: 0.9695 MB / 0.6617 GB, free: 15.58 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.005463/0.1736, allocations: 3.136 MB / 0.6647 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.1759, allocations: 1.313 MB / 0.666 GB, free: 10.86 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.1774, allocations: 0.6944 MB / 0.6667 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.1775, allocations: 16.58 kB / 0.6667 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1776, allocations: 39.22 kB / 0.6667 GB, free: 10.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=81): time 2.785e-06/0.1776, allocations: 0 / 0.6667 GB, free: 10.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=81): time 0.02801/0.2056, allocations: 6.713 MB / 0.6733 GB, free: 3.352 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.2057, allocations: 64 kB / 0.6734 GB, free: 3.277 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.2069, allocations: 0.7866 MB / 0.6741 GB, free: 2.477 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001862/0.2071, allocations: 45.64 kB / 0.6742 GB, free: 2.426 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.2075, allocations: 429.1 kB / 0.6746 GB, free: 2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.2078, allocations: 305.4 kB / 0.6749 GB, free: 1.699 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003624/0.2082, allocations: 174.6 kB / 0.675 GB, free: 1.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.2084, allocations: 345.9 kB / 0.6754 GB, free: 1.176 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001521/0.2099, allocations: 0.6425 MB / 0.676 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.2115, allocations: 0.7589 MB / 0.6767 GB, free: 15.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/0.2291, allocations: 4.453 MB / 0.6811 GB, free: 11.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2292, allocations: 0 / 0.6811 GB, free: 11.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01389/0.2431, allocations: 4.04 MB / 0.685 GB, free: 7.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.2431, allocations: 11.98 kB / 0.685 GB, free: 7.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.2431, allocations: 4 kB / 0.6851 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006562/0.2497, allocations: 1.866 MB / 0.6869 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.2506, allocations: 159.8 kB / 0.687 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/0.2737, allocations: 9.109 MB / 0.6959 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.2751, allocations: 159.2 kB / 0.6961 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.2753, allocations: 39.92 kB / 0.6961 GB, free: 11.71 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.0005137/0.2758, allocations: 214.2 kB / 0.6963 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.276, allocations: 103.3 kB / 0.6964 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.2896, allocations: 3.825 MB / 0.7001 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.2896, allocations: 8 kB / 0.7002 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2896, allocations: 0 / 0.7002 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.2896, allocations: 3.984 kB / 0.7002 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.3048, allocations: 5.322 MB / 0.7054 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.3048, allocations: 0 / 0.7054 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.3054, allocations: 95.81 kB / 0.7054 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006235/0.3116, allocations: 1.741 MB / 0.7071 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/0.3118, allocations: 12 kB / 0.7072 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02861/0.3404, allocations: 8.097 MB / 0.7151 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3404, allocations: 0 / 0.7151 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/0.3563, allocations: 4.693 MB / 0.7197 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/0.3568, allocations: 192.2 kB / 0.7198 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003698/0.3572, allocations: 16 kB / 0.7199 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/0.3588, allocations: 91.95 kB / 0.7199 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/0.3598, allocations: 196.7 kB / 0.7201 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.36, allocations: 19.98 kB / 0.7201 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001241/0.3613, allocations: 0.5303 MB / 0.7207 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.11e-07/0.3613, allocations: 0 / 0.7207 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001955/0.3633, allocations: 407.7 kB / 0.7211 GB, free: 1.812 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.01779/0.3811, allocations: 5.265 MB / 0.7262 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006697/0.3878, allocations: 2.302 MB / 0.7284 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3878, allocations: 0.5625 kB / 0.7284 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004738/0.3926, allocations: 1.511 MB / 0.7299 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007146/0.3933, allocations: 80.55 kB / 0.73 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03736/0.4307, allocations: 14 MB / 0.7437 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006595/0.4314, allocations: 1.025 MB / 0.7447 GB, free: 9.363 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.4317, allocations: 78.17 kB / 0.7447 GB, free: 9.285 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005047/0.4322, allocations: 375.3 kB / 0.7451 GB, free: 8.918 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.4323, allocations: 0 / 0.7451 GB, free: 8.918 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3268/0.759, allocations: 30.61 MB / 0.775 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.15, allocations: 4.625 kB / 0.775 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)