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.00736/0.00736, allocations: 100 kB / 15.73 MB, free: 5.609 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.404/1.404, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001551/0.001551, allocations: 184.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5214/0.5214, allocations: 91.9 MB / 431.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 82.47 kB / 0.5722 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1304, allocations: 71.28 MB / 0.6418 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.004273/0.1347, allocations: 2.802 MB / 0.6446 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001856/0.1366, allocations: 0.896 MB / 0.6454 GB, free: 404 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002403/0.1368, allocations: 4 kB / 0.6455 GB, free: 400 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003442/0.1372, allocations: 87.34 kB / 0.6455 GB, free: 312 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000396/0.1376, allocations: 123 kB / 0.6457 GB, free: 188 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1387, allocations: 449.7 kB / 0.6461 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005525/0.1393, allocations: 422.3 kB / 0.6465 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.1395, allocations: 101.3 kB / 0.6466 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.1398, allocations: 167.2 kB / 0.6467 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.1401, allocations: 227 kB / 0.647 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.1402, allocations: 36 kB / 0.647 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1404, allocations: 91.91 kB / 0.6471 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.108e-05/0.1405, allocations: 83.61 kB / 0.6472 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.1407, allocations: 194.9 kB / 0.6473 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006642/0.1414, allocations: 0.4901 MB / 0.6478 GB, free: 13.95 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1414, allocations: 0 / 0.6478 GB, free: 13.95 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1414, allocations: 0 / 0.6478 GB, free: 13.95 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.1415, 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.003188/0.1446, allocations: 1.028 MB / 0.6488 GB, free: 12.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1447, allocations: 12.03 kB / 0.6488 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.68e-05/0.1448, allocations: 62.67 kB / 0.6489 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/0.1465, allocations: 256.4 kB / 0.6491 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005506/0.1471, allocations: 356.2 kB / 0.6495 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.1472, allocations: 83.89 kB / 0.6496 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.982e-05/0.1473, allocations: 24 kB / 0.6496 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008031/0.1481, allocations: 368.8 kB / 0.6499 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1481, allocations: 0 / 0.6499 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1482, allocations: 8 kB / 0.6499 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1482, allocations: 11.88 kB / 0.65 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007724/0.149, allocations: 370 kB / 0.6503 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.1511, allocations: 1.018 MB / 0.6513 GB, free: 10.22 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006581/0.1577, allocations: 1.36 MB / 0.6526 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006151/0.1584, allocations: 260.7 kB / 0.6529 GB, free: 8.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.03e-05/0.1584, allocations: 4 kB / 0.6529 GB, free: 8.586 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1585, allocations: 34.56 kB / 0.6529 GB, free: 8.543 MB / 462.1 MB Notification: Performance of pre-optimization done (n=31): time 3.437e-06/0.1585, allocations: 0 / 0.6529 GB, free: 8.543 MB / 462.1 MB Notification: Performance of matching and sorting (n=31): time 0.006969/0.1655, allocations: 1.996 MB / 0.6549 GB, free: 6.477 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.1655, allocations: 51.41 kB / 0.6549 GB, free: 6.414 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.166, allocations: 320.5 kB / 0.6552 GB, free: 6.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.166, allocations: 33.7 kB / 0.6553 GB, free: 6.051 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1662, allocations: 188.8 kB / 0.6554 GB, free: 5.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.1663, allocations: 111 kB / 0.6555 GB, free: 5.75 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1665, allocations: 57.98 kB / 0.6556 GB, free: 5.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1667, allocations: 350.7 kB / 0.6559 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.1672, allocations: 212.5 kB / 0.6561 GB, free: 5.125 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005041/0.1677, allocations: 221 kB / 0.6563 GB, free: 4.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009969/0.1687, allocations: 466.9 kB / 0.6568 GB, free: 4.453 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.1687, allocations: 3.984 kB / 0.6568 GB, free: 4.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004224/0.1729, allocations: 1.253 MB / 0.658 GB, free: 3.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.173, allocations: 4 kB / 0.658 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.173, allocations: 0 / 0.658 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003198/0.1762, allocations: 0.7595 MB / 0.6588 GB, free: 2.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1764, allocations: 31.92 kB / 0.6588 GB, free: 2.375 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.1827, allocations: 3.152 MB / 0.6619 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000525/0.1833, allocations: 39.92 kB / 0.6619 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.1833, allocations: 12 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.0002474/0.1836, allocations: 153.7 kB / 0.6621 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1837, allocations: 35.88 kB / 0.6621 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003943/0.1877, allocations: 1.214 MB / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1877, allocations: 0 / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1877, allocations: 4 kB / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1877, allocations: 0 / 0.6633 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000658/0.1884, allocations: 0.5165 MB / 0.6638 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.1884, allocations: 3.938 kB / 0.6638 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.1886, allocations: 31.98 kB / 0.6638 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002524/0.1911, allocations: 0.6736 MB / 0.6645 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.1912, allocations: 7.984 kB / 0.6645 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004757/0.196, allocations: 2.688 MB / 0.6671 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.196, allocations: 0 / 0.6671 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004547/0.2005, allocations: 1.587 MB / 0.6687 GB, free: 7.871 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.2007, allocations: 116.8 kB / 0.6688 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.2008, allocations: 8 kB / 0.6688 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.2012, allocations: 31.95 kB / 0.6688 GB, free: 7.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.2015, allocations: 91.94 kB / 0.6689 GB, free: 7.609 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.2015, allocations: 8 kB / 0.6689 GB, free: 7.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002728/0.2018, allocations: 227.1 kB / 0.6691 GB, free: 7.379 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.914e-06/0.2018, allocations: 0 / 0.6691 GB, free: 7.379 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000539/0.2023, allocations: 143.8 kB / 0.6693 GB, free: 7.238 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.005025/0.2074, allocations: 2.127 MB / 0.6713 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002558/0.21, allocations: 0.9942 MB / 0.6723 GB, free: 4.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.21, allocations: 0 / 0.6723 GB, free: 4.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.2117, allocations: 0.7094 MB / 0.673 GB, free: 3.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.2122, allocations: 29.44 kB / 0.673 GB, free: 3.223 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/0.2297, allocations: 5.654 MB / 0.6786 GB, free: 13.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.2302, allocations: 0.7873 MB / 0.6793 GB, free: 12.66 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.2303, allocations: 26.28 kB / 0.6794 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.2305, allocations: 111.4 kB / 0.6795 GB, free: 12.53 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2305, allocations: 0 / 0.6795 GB, free: 12.53 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04292/0.2734, allocations: 11.51 MB / 0.6907 GB, free: 1.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.47, allocations: 3.938 kB / 0.6907 GB, free: 1.176 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)