Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorV_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.007707/0.007707, allocations: 98.3 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.406/1.406, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001463/0.001463, allocations: 192.5 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.5281/0.5281, allocations: 91.9 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 81.5 kB / 0.5722 GB, free: 33.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1142, allocations: 71.3 MB / 0.6418 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.00408/0.1183, allocations: 3.056 MB / 0.6448 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1199, allocations: 0.9707 MB / 0.6458 GB, free: 56 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.1201, allocations: 0 / 0.6458 GB, free: 56 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1204, allocations: 99.25 kB / 0.6459 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003246/0.1207, allocations: 158.8 kB / 0.646 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009728/0.1217, allocations: 481.3 kB / 0.6465 GB, free: 15.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000541/0.1222, allocations: 0.5332 MB / 0.647 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.1224, allocations: 85.33 kB / 0.6471 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.1227, allocations: 231 kB / 0.6473 GB, free: 14.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003917/0.1231, allocations: 302.7 kB / 0.6476 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.749e-05/0.1232, allocations: 44 kB / 0.6476 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.1234, allocations: 104 kB / 0.6477 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.1235, allocations: 111.6 kB / 0.6478 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1237, allocations: 242.6 kB / 0.6481 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.1244, allocations: 0.5951 MB / 0.6487 GB, free: 13.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1244, allocations: 0 / 0.6487 GB, free: 13.1 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1244, allocations: 0 / 0.6487 GB, free: 13.1 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1244, allocations: 0 / 0.6487 GB, free: 13.1 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.003515/0.1279, allocations: 1.168 MB / 0.6498 GB, free: 11.88 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.128, allocations: 8.031 kB / 0.6498 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.588e-05/0.1281, allocations: 66.72 kB / 0.6499 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.1297, allocations: 276.4 kB / 0.6501 GB, free: 11.52 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.1303, allocations: 422.4 kB / 0.6505 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.1304, allocations: 87.89 kB / 0.6506 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.1305, allocations: 35.94 kB / 0.6507 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.1314, allocations: 404.7 kB / 0.651 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1314, allocations: 4 kB / 0.651 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.1314, allocations: 8 kB / 0.651 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1314, allocations: 8 kB / 0.6511 GB, free: 10.52 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007964/0.1322, allocations: 386 kB / 0.6514 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.1344, allocations: 1.131 MB / 0.6525 GB, free: 8.957 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006809/0.1412, allocations: 1.364 MB / 0.6539 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.1419, allocations: 288.7 kB / 0.6541 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.419e-05/0.1419, allocations: 4 kB / 0.6541 GB, free: 7.293 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.142, allocations: 42.5 kB / 0.6542 GB, free: 7.242 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/0.142, allocations: 0 / 0.6542 GB, free: 7.242 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006557/0.1485, allocations: 1.979 MB / 0.6561 GB, free: 5.191 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.1486, allocations: 59.34 kB / 0.6562 GB, free: 5.121 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.1492, allocations: 417.7 kB / 0.6566 GB, free: 4.707 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.1492, allocations: 33.7 kB / 0.6566 GB, free: 4.668 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.1494, allocations: 216.8 kB / 0.6568 GB, free: 4.453 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.1496, allocations: 146.7 kB / 0.6569 GB, free: 4.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1497, allocations: 53.7 kB / 0.657 GB, free: 4.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1499, allocations: 358.8 kB / 0.6573 GB, free: 3.891 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.1504, allocations: 239.8 kB / 0.6576 GB, free: 3.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.1509, allocations: 247.7 kB / 0.6578 GB, free: 3.414 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.152, allocations: 0.4933 MB / 0.6583 GB, free: 2.918 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.152, allocations: 0 / 0.6583 GB, free: 2.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004507/0.1565, allocations: 1.38 MB / 0.6596 GB, free: 1.52 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.1565, allocations: 11.94 kB / 0.6596 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1565, allocations: 0 / 0.6596 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00354/0.1601, allocations: 0.8687 MB / 0.6605 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.1603, allocations: 39.92 kB / 0.6605 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/0.1672, allocations: 3.395 MB / 0.6638 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.1677, allocations: 51.69 kB / 0.6639 GB, free: 13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.378e-05/0.1678, allocations: 12 kB / 0.6639 GB, free: 12.99 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 {(8,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.168, allocations: 150.7 kB / 0.6641 GB, free: 12.84 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1681, allocations: 47.66 kB / 0.6641 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.172, allocations: 1.241 MB / 0.6653 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.1721, allocations: 4 kB / 0.6653 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1721, allocations: 0 / 0.6653 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.1721, allocations: 3.984 kB / 0.6653 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.1728, allocations: 0.5518 MB / 0.6659 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1728, allocations: 0 / 0.6659 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.1731, allocations: 39.92 kB / 0.6659 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.1753, allocations: 0.6307 MB / 0.6665 GB, free: 10.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.1754, allocations: 4 kB / 0.6665 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004372/0.1798, allocations: 2.563 MB / 0.669 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1798, allocations: 0 / 0.669 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004433/0.1842, allocations: 1.611 MB / 0.6706 GB, free: 5.891 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.1844, allocations: 124.8 kB / 0.6707 GB, free: 5.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.1845, allocations: 11.98 kB / 0.6707 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.185, allocations: 28.09 kB / 0.6707 GB, free: 5.711 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002437/0.1852, allocations: 95.88 kB / 0.6708 GB, free: 5.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.1852, allocations: 8 kB / 0.6708 GB, free: 5.609 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003807/0.1856, allocations: 315.1 kB / 0.6711 GB, free: 5.305 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1856, allocations: 0 / 0.6711 GB, free: 5.305 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005484/0.1862, allocations: 147.9 kB / 0.6713 GB, free: 5.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (motorTypeI.s,motorTypeI.e1r,motorTypeI.e1m,motorTypeI.e2r,motorTypeI.e2m) * 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.004903/0.1911, allocations: 2.155 MB / 0.6734 GB, free: 2.965 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003096/0.1942, allocations: 1.13 MB / 0.6745 GB, free: 1.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1943, allocations: 0 / 0.6745 GB, free: 1.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00185/0.1961, allocations: 0.7441 MB / 0.6752 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.1966, allocations: 40.16 kB / 0.6753 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.2104, allocations: 6.1 MB / 0.6812 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.2109, allocations: 0.8118 MB / 0.682 GB, free: 9.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.2111, allocations: 38.95 kB / 0.682 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.2113, allocations: 139.4 kB / 0.6822 GB, free: 9.727 MB / 494.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2114, allocations: 0 / 0.6822 GB, free: 9.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04481/0.2562, allocations: 12.93 MB / 0.6948 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.66, allocations: 7.812 kB / 0.6948 GB, free: 12.95 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_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_InductiveMotorV_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test.pipe 2>&1)