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.007237/0.007237, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.429/1.429, allocations: 222.9 MB / 239.4 MB, free: 4.465 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.001482/0.001482, allocations: 188.5 kB / 289.7 MB, free: 2.191 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5175/0.5175, allocations: 91.9 MB / 431.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002239, allocations: 81.34 kB / 0.5722 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1174, allocations: 71.3 MB / 0.6418 GB, free: 4.07 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004503/0.1219, allocations: 2.998 MB / 0.6448 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1238, allocations: 0.9471 MB / 0.6457 GB, free: 112 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1239, allocations: 0 / 0.6457 GB, free: 112 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1242, allocations: 95.27 kB / 0.6458 GB, free: 16 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.1246, allocations: 151 kB / 0.6459 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.1256, allocations: 466.6 kB / 0.6464 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005756/0.1262, allocations: 0.5098 MB / 0.6469 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1264, allocations: 89.33 kB / 0.647 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.1267, allocations: 215.1 kB / 0.6472 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003949/0.1271, allocations: 278.8 kB / 0.6474 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.711e-05/0.1272, allocations: 44 kB / 0.6475 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.1274, allocations: 95.97 kB / 0.6476 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1275, allocations: 115.5 kB / 0.6477 GB, free: 14.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.1277, allocations: 222.8 kB / 0.6479 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.1284, allocations: 0.5718 MB / 0.6484 GB, free: 13.28 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1284, allocations: 0 / 0.6484 GB, free: 13.28 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1285, allocations: 3.938 kB / 0.6485 GB, free: 13.28 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1285, allocations: 4 kB / 0.6485 GB, free: 13.27 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.003336/0.1318, allocations: 1.13 MB / 0.6496 GB, free: 12.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1319, allocations: 8.031 kB / 0.6496 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.374e-05/0.132, allocations: 58.73 kB / 0.6496 GB, free: 12.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.1336, allocations: 276.4 kB / 0.6499 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.1342, allocations: 410.4 kB / 0.6503 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.1343, allocations: 91.83 kB / 0.6504 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.1344, allocations: 24 kB / 0.6504 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.1352, allocations: 400.7 kB / 0.6508 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1352, allocations: 0 / 0.6508 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.1353, allocations: 12 kB / 0.6508 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1353, allocations: 8 kB / 0.6508 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007633/0.1361, allocations: 386 kB / 0.6512 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.1381, allocations: 1.088 MB / 0.6522 GB, free: 9.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006458/0.1446, allocations: 1.39 MB / 0.6536 GB, free: 7.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005772/0.1452, allocations: 276.7 kB / 0.6538 GB, free: 7.574 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.1452, allocations: 4 kB / 0.6538 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.1453, allocations: 42.5 kB / 0.6539 GB, free: 7.52 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.1453, allocations: 0 / 0.6539 GB, free: 7.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006315/0.1516, allocations: 1.956 MB / 0.6558 GB, free: 5.492 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.1517, allocations: 59.34 kB / 0.6559 GB, free: 5.422 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.1522, allocations: 397.7 kB / 0.6562 GB, free: 5.027 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.1523, allocations: 33.64 kB / 0.6563 GB, free: 4.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1525, allocations: 208.7 kB / 0.6565 GB, free: 4.781 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1526, allocations: 134.9 kB / 0.6566 GB, free: 4.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.1528, allocations: 62.02 kB / 0.6566 GB, free: 4.578 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1529, allocations: 346.8 kB / 0.657 GB, free: 4.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.1534, allocations: 228.5 kB / 0.6572 GB, free: 4.008 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.1539, allocations: 233.2 kB / 0.6574 GB, free: 3.781 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1549, allocations: 494.9 kB / 0.6579 GB, free: 3.297 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1549, allocations: 4 kB / 0.6579 GB, free: 3.293 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.004153/0.1591, allocations: 1.284 MB / 0.6591 GB, free: 1.992 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1591, allocations: 4 kB / 0.6592 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1591, allocations: 0 / 0.6592 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002932/0.1621, allocations: 0.7634 MB / 0.6599 GB, free: 1.215 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.1623, allocations: 35.97 kB / 0.6599 GB, free: 1.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/0.1684, allocations: 3.112 MB / 0.663 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005049/0.1689, allocations: 51.75 kB / 0.663 GB, free: 13.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.169, allocations: 8 kB / 0.663 GB, free: 13.87 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.0002221/0.1692, allocations: 149.8 kB / 0.6632 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.419e-05/0.1693, allocations: 47.66 kB / 0.6632 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003688/0.173, allocations: 1.21 MB / 0.6644 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.173, allocations: 7.984 kB / 0.6644 GB, free: 12.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.173, allocations: 11.94 kB / 0.6644 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.173, allocations: 3.938 kB / 0.6644 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.1737, allocations: 0.5245 MB / 0.6649 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1737, allocations: 0 / 0.6649 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002659/0.174, allocations: 43.92 kB / 0.665 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.1762, allocations: 0.627 MB / 0.6656 GB, free: 11.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.1762, allocations: 4 kB / 0.6656 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00439/0.1806, allocations: 2.551 MB / 0.6681 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1806, allocations: 0 / 0.6681 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.185, allocations: 1.586 MB / 0.6696 GB, free: 6.852 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.1852, allocations: 136.7 kB / 0.6698 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.1852, allocations: 11.94 kB / 0.6698 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.1857, allocations: 27.97 kB / 0.6698 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.186, allocations: 87.88 kB / 0.6699 GB, free: 6.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-05/0.186, allocations: 8 kB / 0.6699 GB, free: 6.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.1864, allocations: 291.2 kB / 0.6702 GB, free: 6.281 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1864, allocations: 3.938 kB / 0.6702 GB, free: 6.277 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000516/0.1869, allocations: 139.9 kB / 0.6703 GB, free: 6.141 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.004727/0.1916, allocations: 2.145 MB / 0.6724 GB, free: 3.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002856/0.1945, allocations: 1.076 MB / 0.6735 GB, free: 2.828 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1945, allocations: 0 / 0.6735 GB, free: 2.828 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.1963, allocations: 0.7286 MB / 0.6742 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.1967, allocations: 37.5 kB / 0.6742 GB, free: 2.008 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.2094, allocations: 5.69 MB / 0.6798 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.2099, allocations: 0.8111 MB / 0.6805 GB, free: 11.37 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000138/0.21, allocations: 26.97 kB / 0.6806 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.2103, allocations: 139.4 kB / 0.6807 GB, free: 11.21 MB / 494.1 MB Notification: Performance of SimCode: time 4.2e-07/0.2103, allocations: 0 / 0.6807 GB, free: 11.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04326/0.2536, allocations: 12.19 MB / 0.6926 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.77, allocations: 13.47 kB / 0.6926 GB, free: 15.16 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)