Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.Order4test2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_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.007937/0.007937, allocations: 96.16 kB / 15.73 MB, free: 6.043 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.428/1.428, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001491/0.001491, allocations: 184.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5278/0.5278, allocations: 91.89 MB / 431.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 83.28 kB / 0.5723 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1177, allocations: 71.29 MB / 0.6419 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006668/0.1244, allocations: 5.804 MB / 0.6475 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003576/0.1281, allocations: 1.767 MB / 0.6493 GB, free: 12.46 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005502/0.1286, allocations: 11.94 kB / 0.6493 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.1291, allocations: 210.2 kB / 0.6495 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.1308, allocations: 0.6755 MB / 0.6501 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1321, allocations: 0.569 MB / 0.6507 GB, free: 11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001469/0.1335, allocations: 1.253 MB / 0.6519 GB, free: 9.742 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004306/0.134, allocations: 279.4 kB / 0.6522 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.1346, allocations: 0.5173 MB / 0.6527 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007583/0.1354, allocations: 0.6494 MB / 0.6533 GB, free: 8.285 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.1356, allocations: 88 kB / 0.6534 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.136, allocations: 227.9 kB / 0.6536 GB, free: 7.977 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.1362, allocations: 242.8 kB / 0.6539 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004657/0.1367, allocations: 0.5437 MB / 0.6544 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1383, allocations: 1.369 MB / 0.6557 GB, free: 5.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1383, allocations: 0 / 0.6557 GB, free: 5.816 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1383, allocations: 0 / 0.6557 GB, free: 5.816 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1383, allocations: 0 / 0.6557 GB, free: 5.816 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.007698/0.146, allocations: 2.379 MB / 0.658 GB, free: 3.383 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.1461, allocations: 12.03 kB / 0.6581 GB, free: 3.371 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.1462, allocations: 110.5 kB / 0.6582 GB, free: 3.254 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004971/0.1512, allocations: 0.7797 MB / 0.6589 GB, free: 2.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.1526, allocations: 0.7135 MB / 0.6596 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.1529, allocations: 248.2 kB / 0.6599 GB, free: 1.438 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.1531, allocations: 68 kB / 0.6599 GB, free: 1.371 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.1552, allocations: 0.9637 MB / 0.6609 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1552, allocations: 0 / 0.6609 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.1553, allocations: 24 kB / 0.6609 GB, free: 384 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.1553, allocations: 16 kB / 0.6609 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.1574, allocations: 0.9761 MB / 0.6619 GB, free: 15.38 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.006071/0.1635, allocations: 3.202 MB / 0.665 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.1657, allocations: 1.315 MB / 0.6663 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.1672, allocations: 0.7087 MB / 0.667 GB, free: 9.879 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.022e-05/0.1673, allocations: 13 kB / 0.667 GB, free: 9.863 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.1674, allocations: 39.56 kB / 0.667 GB, free: 9.816 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/0.1674, allocations: 0 / 0.667 GB, free: 9.816 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02489/0.1923, allocations: 6.477 MB / 0.6733 GB, free: 3.309 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.443e-05/0.1924, allocations: 64.34 kB / 0.6734 GB, free: 3.23 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.1935, allocations: 0.7868 MB / 0.6742 GB, free: 2.434 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.1938, allocations: 41.7 kB / 0.6742 GB, free: 2.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.1941, allocations: 441 kB / 0.6746 GB, free: 1.949 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/0.1945, allocations: 313.3 kB / 0.6749 GB, free: 1.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.1949, allocations: 186.9 kB / 0.6751 GB, free: 1.449 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.1951, allocations: 345.9 kB / 0.6754 GB, free: 1.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.1966, allocations: 0.6584 MB / 0.6761 GB, free: 460 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/0.1981, allocations: 0.7873 MB / 0.6768 GB, free: 15.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/0.2156, allocations: 4.512 MB / 0.6812 GB, free: 11.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.2157, allocations: 0 / 0.6812 GB, free: 11.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01333/0.229, allocations: 4.083 MB / 0.6852 GB, free: 6.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.2291, allocations: 8 kB / 0.6852 GB, free: 6.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.2291, allocations: 7.938 kB / 0.6853 GB, free: 6.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006009/0.2351, allocations: 1.733 MB / 0.6869 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.2362, allocations: 179.8 kB / 0.6871 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.2585, allocations: 9.069 MB / 0.696 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.26, allocations: 151.3 kB / 0.6961 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.2602, allocations: 43.98 kB / 0.6962 GB, free: 11.65 MB / 0.4981 GB 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.0005521/0.2608, allocations: 221.7 kB / 0.6964 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/0.2611, allocations: 107.3 kB / 0.6965 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.2737, allocations: 3.817 MB / 0.7002 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.2738, allocations: 11.94 kB / 0.7002 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2738, allocations: 3.938 kB / 0.7002 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.2738, allocations: 7.984 kB / 0.7002 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.2889, allocations: 5.333 MB / 0.7054 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/0.289, allocations: 0 / 0.7054 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005916/0.2896, allocations: 95.81 kB / 0.7055 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005927/0.2956, allocations: 1.741 MB / 0.7072 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/0.2958, allocations: 20 kB / 0.7072 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/0.3152, allocations: 8.065 MB / 0.7151 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3152, allocations: 0 / 0.7151 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/0.3302, allocations: 4.701 MB / 0.7197 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.3306, allocations: 192.2 kB / 0.7199 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.331, allocations: 12 kB / 0.7199 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.3321, allocations: 95.89 kB / 0.72 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007324/0.3328, allocations: 204.6 kB / 0.7202 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.333, allocations: 20 kB / 0.7202 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008628/0.3338, allocations: 0.5342 MB / 0.7207 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3339, allocations: 0 / 0.7207 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001509/0.3354, allocations: 411.7 kB / 0.7211 GB, free: 1.73 MB / 0.5137 GB 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.0149/0.3503, allocations: 5.288 MB / 0.7263 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006579/0.3569, allocations: 2.305 MB / 0.7285 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3569, allocations: 4 kB / 0.7285 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00473/0.3617, allocations: 1.515 MB / 0.73 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.3626, allocations: 75.34 kB / 0.7301 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03745/0.4001, allocations: 14.18 MB / 0.7439 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/0.4009, allocations: 1.037 MB / 0.745 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003649/0.4013, allocations: 78.3 kB / 0.745 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005914/0.4019, allocations: 383.3 kB / 0.7454 GB, free: 8.598 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.4019, allocations: 0 / 0.7454 GB, free: 8.598 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3306/0.7325, allocations: 30.96 MB / 0.7756 GB, free: 119.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.74/16.47, allocations: 12.64 kB / 0.7756 GB, free: 119.1 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)