Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.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.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",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.007851/0.007851, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.308/1.308, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001351/0.001351, allocations: 184.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4994/0.4994, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 82.53 kB / 0.5722 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1383, allocations: 71.28 MB / 0.6418 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.003782/0.1421, allocations: 2.802 MB / 0.6446 GB, free: 1.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001424/0.1436, allocations: 0.8998 MB / 0.6454 GB, free: 412 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.1438, allocations: 4 kB / 0.6455 GB, free: 408 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1441, allocations: 87.39 kB / 0.6455 GB, free: 320 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1444, allocations: 131 kB / 0.6457 GB, free: 188 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009481/0.1453, allocations: 453.4 kB / 0.6461 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.1457, allocations: 426.3 kB / 0.6465 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1459, allocations: 89.3 kB / 0.6466 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1461, allocations: 171.2 kB / 0.6467 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.1464, allocations: 235 kB / 0.647 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.1465, allocations: 32 kB / 0.647 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1466, allocations: 83.98 kB / 0.6471 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.1468, allocations: 87.61 kB / 0.6472 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.1469, allocations: 194.9 kB / 0.6474 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.1475, allocations: 0.494 MB / 0.6478 GB, free: 13.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1475, allocations: 4 kB / 0.6478 GB, free: 13.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1475, allocations: 0 / 0.6478 GB, free: 13.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.062e-05/0.1475, allocations: 0 / 0.6478 GB, free: 13.95 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002917/0.1505, allocations: 1.021 MB / 0.6488 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.1505, allocations: 16.02 kB / 0.6489 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.22e-05/0.1506, allocations: 62.73 kB / 0.6489 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.1522, allocations: 260.4 kB / 0.6492 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.1527, allocations: 352.2 kB / 0.6495 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.1528, allocations: 83.89 kB / 0.6496 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.052e-05/0.1528, allocations: 27.94 kB / 0.6496 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.1536, allocations: 376.6 kB / 0.65 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.1536, allocations: 0 / 0.65 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.713e-05/0.1536, allocations: 12 kB / 0.65 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.1537, allocations: 4 kB / 0.65 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007096/0.1544, allocations: 362 kB / 0.6503 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.1562, allocations: 1.026 MB / 0.6513 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/0.1629, allocations: 1.353 MB / 0.6526 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000545/0.1635, allocations: 256.8 kB / 0.6529 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.838e-05/0.1635, allocations: 7.984 kB / 0.6529 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1636, allocations: 42.5 kB / 0.6529 GB, free: 8.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 2.695e-06/0.1636, allocations: 7.938 kB / 0.6529 GB, free: 8.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.006692/0.1703, allocations: 1.981 MB / 0.6549 GB, free: 6.473 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.1703, allocations: 55.41 kB / 0.6549 GB, free: 6.406 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.1707, allocations: 316.6 kB / 0.6552 GB, free: 6.086 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.1707, allocations: 33.7 kB / 0.6553 GB, free: 6.047 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1709, allocations: 184.8 kB / 0.6554 GB, free: 5.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.171, allocations: 119 kB / 0.6556 GB, free: 5.742 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.1711, allocations: 49.98 kB / 0.6556 GB, free: 5.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1712, allocations: 350.7 kB / 0.6559 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.1717, allocations: 216.5 kB / 0.6561 GB, free: 5.121 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.1722, allocations: 221 kB / 0.6564 GB, free: 4.906 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009611/0.1732, allocations: 470.9 kB / 0.6568 GB, free: 4.445 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1732, allocations: 3.938 kB / 0.6568 GB, free: 4.441 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004109/0.1773, allocations: 1.253 MB / 0.658 GB, free: 3.172 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.1773, allocations: 4 kB / 0.658 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.1773, allocations: 0 / 0.658 GB, free: 3.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/0.1804, allocations: 0.7594 MB / 0.6588 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.1806, allocations: 27.98 kB / 0.6588 GB, free: 2.371 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/0.1863, allocations: 3.152 MB / 0.6619 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.1869, allocations: 44.02 kB / 0.6619 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.1869, allocations: 7.938 kB / 0.6619 GB, free: 15.04 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001912/0.1871, allocations: 156.2 kB / 0.6621 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.1872, allocations: 39.75 kB / 0.6621 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.1911, allocations: 1.21 MB / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1911, allocations: 4 kB / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1911, allocations: 4 kB / 0.6633 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1911, allocations: 0 / 0.6633 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005636/0.1917, allocations: 0.5166 MB / 0.6638 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1917, allocations: 3.938 kB / 0.6638 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002089/0.1919, allocations: 35.92 kB / 0.6638 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/0.1945, allocations: 0.6698 MB / 0.6645 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.1945, allocations: 8 kB / 0.6645 GB, free: 12.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004469/0.199, allocations: 2.684 MB / 0.6671 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.199, allocations: 0 / 0.6671 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/0.2036, allocations: 1.591 MB / 0.6687 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.2038, allocations: 116.8 kB / 0.6688 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.814e-05/0.2039, allocations: 4 kB / 0.6688 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.2044, allocations: 31.97 kB / 0.6688 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002425/0.2046, allocations: 91.8 kB / 0.6689 GB, free: 7.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2046, allocations: 16 kB / 0.6689 GB, free: 7.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002394/0.2049, allocations: 227.1 kB / 0.6692 GB, free: 7.367 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2049, allocations: 0 / 0.6692 GB, free: 7.367 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005382/0.2054, allocations: 139.9 kB / 0.6693 GB, free: 7.23 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004875/0.2103, allocations: 2.124 MB / 0.6714 GB, free: 5.066 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002732/0.2131, allocations: 0.9863 MB / 0.6723 GB, free: 4.023 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.2131, allocations: 0 / 0.6723 GB, free: 4.023 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.2149, allocations: 0.7171 MB / 0.673 GB, free: 3.25 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.2154, allocations: 30.84 kB / 0.6731 GB, free: 3.219 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.2321, allocations: 5.65 MB / 0.6786 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.2326, allocations: 0.7912 MB / 0.6793 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000123/0.2327, allocations: 26.28 kB / 0.6794 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.2329, allocations: 103.4 kB / 0.6795 GB, free: 12.53 MB / 494.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2329, allocations: 0 / 0.6795 GB, free: 12.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04213/0.275, allocations: 11.5 MB / 0.6907 GB, free: 1.188 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/11.92, allocations: 8 kB / 0.6907 GB, free: 1.18 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test_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_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)