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.008895/0.008895, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.336/1.336, allocations: 222.9 MB / 239.4 MB, free: 4.484 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.001333/0.001333, allocations: 184.5 kB / 289.7 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5219/0.5219, allocations: 91.9 MB / 431.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 80.55 kB / 0.5722 GB, free: 33.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1233, allocations: 71.28 MB / 0.6418 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorV_SIMBOpenline_Test): time 0.003558/0.1269, allocations: 3.075 MB / 0.6448 GB, free: 1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1284, allocations: 0.9745 MB / 0.6458 GB, free: 24 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1285, allocations: 4 kB / 0.6458 GB, free: 20 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002757/0.1288, allocations: 91.39 kB / 0.6459 GB, free: 15.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1291, allocations: 178.8 kB / 0.646 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000891/0.13, allocations: 465.1 kB / 0.6465 GB, free: 15.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.1305, allocations: 0.5293 MB / 0.647 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1307, allocations: 113.2 kB / 0.6471 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.1309, allocations: 219.1 kB / 0.6473 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.1313, allocations: 298.7 kB / 0.6476 GB, free: 14.15 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.289e-05/0.1314, allocations: 48 kB / 0.6477 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.1315, allocations: 95.98 kB / 0.6477 GB, free: 14.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.1316, allocations: 123.5 kB / 0.6479 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.1318, allocations: 234.6 kB / 0.6481 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005601/0.1324, allocations: 0.5913 MB / 0.6487 GB, free: 13.06 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1324, allocations: 4 kB / 0.6487 GB, free: 13.06 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1324, allocations: 3.938 kB / 0.6487 GB, free: 13.05 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.1324, allocations: 0 / 0.6487 GB, free: 13.05 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.003239/0.1356, allocations: 1.161 MB / 0.6498 GB, free: 11.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.1357, allocations: 12.03 kB / 0.6498 GB, free: 11.83 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.029e-05/0.1358, allocations: 62.72 kB / 0.6499 GB, free: 11.76 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.1374, allocations: 276.4 kB / 0.6501 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.1379, allocations: 422.4 kB / 0.6505 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.138, allocations: 87.91 kB / 0.6506 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.1381, allocations: 35.94 kB / 0.6507 GB, free: 10.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/0.1389, allocations: 408.7 kB / 0.6511 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1389, allocations: 4 kB / 0.6511 GB, free: 10.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.139, allocations: 8 kB / 0.6511 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.139, allocations: 8 kB / 0.6511 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007371/0.1397, allocations: 390 kB / 0.6514 GB, free: 10.1 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.1416, allocations: 1.123 MB / 0.6525 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006577/0.1482, allocations: 1.373 MB / 0.6539 GB, free: 7.539 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.1488, allocations: 288.7 kB / 0.6542 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.1488, allocations: 4 kB / 0.6542 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1488, allocations: 38.5 kB / 0.6542 GB, free: 7.203 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 4.038e-06/0.1488, allocations: 0 / 0.6542 GB, free: 7.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006354/0.1552, allocations: 1.991 MB / 0.6561 GB, free: 5.141 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.1553, allocations: 59.34 kB / 0.6562 GB, free: 5.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.1558, allocations: 421.7 kB / 0.6566 GB, free: 4.652 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.1558, allocations: 37.64 kB / 0.6566 GB, free: 4.609 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.156, allocations: 212.8 kB / 0.6568 GB, free: 4.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.1561, allocations: 130.8 kB / 0.657 GB, free: 4.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1562, allocations: 65.69 kB / 0.657 GB, free: 4.199 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1564, allocations: 346.8 kB / 0.6574 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.1569, allocations: 243.9 kB / 0.6576 GB, free: 3.613 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.1574, allocations: 243.7 kB / 0.6578 GB, free: 3.375 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.1584, allocations: 0.5011 MB / 0.6583 GB, free: 2.871 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1584, allocations: 0 / 0.6583 GB, free: 2.871 MB / 462.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.004293/0.1627, allocations: 1.373 MB / 0.6597 GB, free: 1.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1628, allocations: 15.94 kB / 0.6597 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1628, allocations: 0 / 0.6597 GB, free: 1.465 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003377/0.1662, allocations: 0.8727 MB / 0.6605 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.1664, allocations: 39.91 kB / 0.6606 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00666/0.1731, allocations: 3.387 MB / 0.6639 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.1736, allocations: 51.75 kB / 0.6639 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.1736, allocations: 19.92 kB / 0.6639 GB, free: 12.95 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.0002101/0.1739, allocations: 149.8 kB / 0.6641 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.966e-05/0.174, allocations: 39.72 kB / 0.6641 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.1778, allocations: 1.241 MB / 0.6653 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1778, allocations: 0 / 0.6653 GB, free: 11.49 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1778, allocations: 7.984 kB / 0.6653 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1778, allocations: 0 / 0.6653 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.1784, allocations: 0.5517 MB / 0.6659 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1785, allocations: 4 kB / 0.6659 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.1788, allocations: 35.92 kB / 0.6659 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002224/0.181, allocations: 0.627 MB / 0.6665 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.1811, allocations: 15.98 kB / 0.6665 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004235/0.1853, allocations: 2.563 MB / 0.669 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1853, allocations: 0 / 0.669 GB, free: 7.484 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004309/0.1896, allocations: 1.603 MB / 0.6706 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.1898, allocations: 132.8 kB / 0.6707 GB, free: 5.703 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.1899, allocations: 8 kB / 0.6707 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.1904, allocations: 31.97 kB / 0.6708 GB, free: 5.664 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.1906, allocations: 91.86 kB / 0.6709 GB, free: 5.574 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.054e-05/0.1906, allocations: 8 kB / 0.6709 GB, free: 5.566 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003469/0.191, allocations: 311.2 kB / 0.6712 GB, free: 5.266 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.373e-06/0.191, allocations: 0 / 0.6712 GB, free: 5.266 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005086/0.1915, allocations: 151.8 kB / 0.6713 GB, free: 5.117 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.004639/0.1961, allocations: 2.159 MB / 0.6734 GB, free: 2.918 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002906/0.1991, allocations: 1.134 MB / 0.6745 GB, free: 1.727 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1991, allocations: 0 / 0.6745 GB, free: 1.727 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00169/0.2008, allocations: 0.7363 MB / 0.6752 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.2012, allocations: 38.66 kB / 0.6753 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.214, allocations: 6.092 MB / 0.6812 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.2144, allocations: 0.8157 MB / 0.682 GB, free: 9.863 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.2145, allocations: 30.97 kB / 0.6821 GB, free: 9.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.2147, allocations: 143.4 kB / 0.6822 GB, free: 9.691 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2147, allocations: 0 / 0.6822 GB, free: 9.691 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0364/0.2511, allocations: 12.95 MB / 0.6948 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.19, allocations: 2.188 kB / 0.6948 GB, free: 12.91 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)