Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_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.007565/0.007565, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.318/1.318, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.001379/0.001379, allocations: 192.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5092/0.5092, allocations: 91.91 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 79.75 kB / 0.5722 GB, free: 33.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1332, allocations: 71.28 MB / 0.6418 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003896/0.1371, allocations: 2.999 MB / 0.6448 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1388, allocations: 0.9433 MB / 0.6457 GB, free: 148 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.139, allocations: 7.938 kB / 0.6457 GB, free: 140 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1393, allocations: 95.27 kB / 0.6458 GB, free: 44 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.1396, allocations: 167 kB / 0.6459 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.1406, allocations: 461.5 kB / 0.6464 GB, free: 15.43 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.1411, allocations: 0.5098 MB / 0.6469 GB, free: 14.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.1413, allocations: 93.33 kB / 0.647 GB, free: 14.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1415, allocations: 219 kB / 0.6472 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003363/0.1418, allocations: 278.8 kB / 0.6474 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.1419, allocations: 44 kB / 0.6475 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.1421, allocations: 95.97 kB / 0.6476 GB, free: 14.2 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.1422, allocations: 115.5 kB / 0.6477 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.1424, allocations: 222.7 kB / 0.6479 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.143, allocations: 0.5679 MB / 0.6485 GB, free: 13.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.143, allocations: 4 kB / 0.6485 GB, free: 13.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.143, allocations: 0 / 0.6485 GB, free: 13.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.143, allocations: 3.938 kB / 0.6485 GB, free: 13.29 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.003521/0.1466, allocations: 1.13 MB / 0.6496 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1466, allocations: 8.031 kB / 0.6496 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.899e-05/0.1467, allocations: 62.72 kB / 0.6496 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001774/0.1485, allocations: 272.4 kB / 0.6499 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.149, allocations: 410.5 kB / 0.6503 GB, free: 11.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.1491, allocations: 87.83 kB / 0.6504 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.1492, allocations: 28 kB / 0.6504 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.15, allocations: 404.6 kB / 0.6508 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.15, allocations: 0 / 0.6508 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.1501, allocations: 8 kB / 0.6508 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1501, allocations: 8 kB / 0.6508 GB, free: 10.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.1509, allocations: 390 kB / 0.6512 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.1531, allocations: 1.096 MB / 0.6522 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006895/0.16, allocations: 1.377 MB / 0.6536 GB, free: 7.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005689/0.1606, allocations: 276.7 kB / 0.6538 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-05/0.1607, allocations: 4 kB / 0.6539 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1607, allocations: 42.48 kB / 0.6539 GB, free: 7.531 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.285e-06/0.1607, allocations: 4 kB / 0.6539 GB, free: 7.527 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006478/0.1672, allocations: 1.952 MB / 0.6558 GB, free: 5.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.1673, allocations: 59.34 kB / 0.6559 GB, free: 5.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.1678, allocations: 401.7 kB / 0.6562 GB, free: 5.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.1678, allocations: 29.7 kB / 0.6563 GB, free: 5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.168, allocations: 208.7 kB / 0.6565 GB, free: 4.793 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.1682, allocations: 134.8 kB / 0.6566 GB, free: 4.66 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.1683, allocations: 58.03 kB / 0.6567 GB, free: 4.594 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.1685, allocations: 350.8 kB / 0.657 GB, free: 4.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005152/0.169, allocations: 228.5 kB / 0.6572 GB, free: 4.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005128/0.1695, allocations: 229.2 kB / 0.6574 GB, free: 3.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.1706, allocations: 494.8 kB / 0.6579 GB, free: 3.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1706, allocations: 0 / 0.6579 GB, free: 3.312 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004172/0.1748, allocations: 1.291 MB / 0.6592 GB, free: 2.004 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1748, allocations: 4 kB / 0.6592 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1748, allocations: 0 / 0.6592 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003117/0.1779, allocations: 0.7651 MB / 0.6599 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.1782, allocations: 39.92 kB / 0.6599 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006051/0.1842, allocations: 3.102 MB / 0.663 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.1847, allocations: 59.73 kB / 0.663 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1848, allocations: 8 kB / 0.663 GB, free: 13.88 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 (26): * Single equations (assignments): 23 * 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 {(7,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.185, allocations: 149.8 kB / 0.6632 GB, free: 13.72 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.822e-05/0.1851, allocations: 47.66 kB / 0.6632 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003872/0.189, allocations: 1.21 MB / 0.6644 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.189, allocations: 4 kB / 0.6644 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.189, allocations: 7.938 kB / 0.6644 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.189, allocations: 7.922 kB / 0.6644 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.1897, allocations: 0.5245 MB / 0.6649 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1897, allocations: 0 / 0.6649 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.19, allocations: 43.92 kB / 0.665 GB, free: 11.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002241/0.1922, allocations: 0.619 MB / 0.6656 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.1923, allocations: 11.98 kB / 0.6656 GB, free: 11.17 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004163/0.1964, allocations: 2.555 MB / 0.6681 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1965, allocations: 0 / 0.6681 GB, free: 8.477 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004305/0.2008, allocations: 1.579 MB / 0.6696 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2009, allocations: 128.7 kB / 0.6698 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.764e-05/0.201, allocations: 15.94 kB / 0.6698 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.2014, allocations: 35.95 kB / 0.6698 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.2017, allocations: 87.88 kB / 0.6699 GB, free: 6.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.2017, allocations: 8 kB / 0.6699 GB, free: 6.582 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003162/0.202, allocations: 295.1 kB / 0.6702 GB, free: 6.293 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.202, allocations: 0 / 0.6702 GB, free: 6.293 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004868/0.2025, allocations: 139.9 kB / 0.6703 GB, free: 6.156 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (motorTypeI.s,motorTypeI.epr,motorTypeI.epm) * 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 (26): * Single equations (assignments): 23 * 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.004661/0.2072, allocations: 2.139 MB / 0.6724 GB, free: 3.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002841/0.2101, allocations: 1.08 MB / 0.6735 GB, free: 2.844 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2101, allocations: 0 / 0.6735 GB, free: 2.844 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.2118, allocations: 0.7325 MB / 0.6742 GB, free: 2.055 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.2123, allocations: 37.44 kB / 0.6742 GB, free: 2.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.2243, allocations: 5.682 MB / 0.6798 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.2247, allocations: 0.815 MB / 0.6806 GB, free: 11.38 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001374/0.2249, allocations: 26.97 kB / 0.6806 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.2251, allocations: 143.4 kB / 0.6807 GB, free: 11.22 MB / 494.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2251, allocations: 0 / 0.6807 GB, free: 11.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.2618, allocations: 12.19 MB / 0.6926 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.89, allocations: 17.45 kB / 0.6926 GB, free: 15.18 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_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_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)