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.005132/0.005132, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.286/1.286, 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.001394/0.001394, allocations: 188.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5636/0.5636, allocations: 91.9 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 81.88 kB / 0.5722 GB, free: 33.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1584, allocations: 71.28 MB / 0.6418 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004029/0.1625, allocations: 2.999 MB / 0.6448 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1644, allocations: 0.951 MB / 0.6457 GB, free: 160 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.1648, allocations: 4 kB / 0.6457 GB, free: 156 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.1652, allocations: 99.22 kB / 0.6458 GB, free: 56 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005733/0.1657, allocations: 166.9 kB / 0.6459 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.1669, allocations: 461.7 kB / 0.6464 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000663/0.1676, allocations: 0.502 MB / 0.6469 GB, free: 14.94 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.1678, allocations: 97.31 kB / 0.647 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.1682, allocations: 203.1 kB / 0.6472 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004174/0.1686, allocations: 286.8 kB / 0.6474 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.1687, allocations: 44 kB / 0.6475 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.169, allocations: 95.98 kB / 0.6476 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.1691, allocations: 111.5 kB / 0.6477 GB, free: 14.11 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.1693, allocations: 230.7 kB / 0.6479 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007215/0.1701, allocations: 0.5718 MB / 0.6485 GB, free: 13.31 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1701, allocations: 0 / 0.6485 GB, free: 13.31 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1701, allocations: 0 / 0.6485 GB, free: 13.31 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.1701, allocations: 0 / 0.6485 GB, free: 13.31 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.003348/0.1735, allocations: 1.126 MB / 0.6496 GB, free: 12.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1735, allocations: 12.03 kB / 0.6496 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.528e-05/0.1736, allocations: 70.66 kB / 0.6496 GB, free: 12.04 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.1752, allocations: 268.4 kB / 0.6499 GB, free: 11.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.1758, allocations: 410.4 kB / 0.6503 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.1759, allocations: 83.91 kB / 0.6504 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.176, allocations: 35.92 kB / 0.6504 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.1768, allocations: 396.7 kB / 0.6508 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1768, allocations: 0 / 0.6508 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.1769, allocations: 12 kB / 0.6508 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.1769, allocations: 8 kB / 0.6508 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.1777, allocations: 386 kB / 0.6512 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.1798, allocations: 1.096 MB / 0.6522 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006516/0.1863, allocations: 1.38 MB / 0.6536 GB, free: 7.879 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.1869, allocations: 268.7 kB / 0.6538 GB, free: 7.613 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.187, allocations: 8 kB / 0.6538 GB, free: 7.605 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.187, allocations: 42.5 kB / 0.6539 GB, free: 7.555 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.405e-06/0.187, allocations: 4 kB / 0.6539 GB, free: 7.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006333/0.1934, allocations: 1.956 MB / 0.6558 GB, free: 5.523 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.1935, allocations: 59.34 kB / 0.6559 GB, free: 5.453 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.194, allocations: 397.7 kB / 0.6562 GB, free: 5.059 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.1941, allocations: 33.7 kB / 0.6563 GB, free: 5.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1943, allocations: 208.7 kB / 0.6565 GB, free: 4.812 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.1944, allocations: 134.8 kB / 0.6566 GB, free: 4.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.1945, allocations: 54.03 kB / 0.6566 GB, free: 4.617 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1947, allocations: 350.8 kB / 0.657 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.1952, allocations: 232.5 kB / 0.6572 GB, free: 4.039 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.1957, allocations: 233.1 kB / 0.6574 GB, free: 3.812 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009909/0.1967, allocations: 494.9 kB / 0.6579 GB, free: 3.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.1968, allocations: 0 / 0.6579 GB, free: 3.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0039/0.2007, allocations: 1.284 MB / 0.6592 GB, free: 2.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2007, allocations: 4 kB / 0.6592 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2007, allocations: 4 kB / 0.6592 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002886/0.2036, allocations: 0.7691 MB / 0.6599 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.2039, allocations: 39.92 kB / 0.6599 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006149/0.21, allocations: 3.111 MB / 0.663 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.2106, allocations: 47.75 kB / 0.663 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.2107, allocations: 12 kB / 0.663 GB, free: 13.89 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.000225/0.2109, allocations: 152.2 kB / 0.6632 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/0.211, allocations: 43.66 kB / 0.6632 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.2146, allocations: 1.214 MB / 0.6644 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.2147, allocations: 4 kB / 0.6644 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.2147, allocations: 7.875 kB / 0.6644 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.545e-06/0.2147, allocations: 0 / 0.6644 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006981/0.2154, allocations: 0.5323 MB / 0.6649 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.2154, allocations: 4 kB / 0.6649 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.2157, allocations: 43.91 kB / 0.665 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/0.2179, allocations: 0.619 MB / 0.6656 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.2179, allocations: 8 kB / 0.6656 GB, free: 11.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004299/0.2222, allocations: 2.555 MB / 0.6681 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2223, allocations: 4 kB / 0.6681 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.2265, allocations: 1.575 MB / 0.6696 GB, free: 6.887 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.2267, allocations: 132.7 kB / 0.6698 GB, free: 6.738 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.2268, allocations: 11.94 kB / 0.6698 GB, free: 6.727 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.2272, allocations: 31.97 kB / 0.6698 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000234/0.2274, allocations: 95.8 kB / 0.6699 GB, free: 6.602 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.2275, allocations: 12 kB / 0.6699 GB, free: 6.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003451/0.2278, allocations: 287.2 kB / 0.6702 GB, free: 6.309 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2278, allocations: 0 / 0.6702 GB, free: 6.309 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004926/0.2283, allocations: 139.9 kB / 0.6703 GB, free: 6.172 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.004446/0.2328, allocations: 2.143 MB / 0.6724 GB, free: 3.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002656/0.2355, allocations: 1.072 MB / 0.6735 GB, free: 2.863 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.2355, allocations: 4 kB / 0.6735 GB, free: 2.859 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.2371, allocations: 0.7288 MB / 0.6742 GB, free: 2.074 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.2376, allocations: 34.75 kB / 0.6742 GB, free: 2.043 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.2491, allocations: 5.701 MB / 0.6798 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.2496, allocations: 0.8072 MB / 0.6806 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001551/0.2497, allocations: 34.95 kB / 0.6806 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.2499, allocations: 131.4 kB / 0.6807 GB, free: 11.23 MB / 494.1 MB Notification: Performance of SimCode: time 1.001e-06/0.2499, allocations: 0 / 0.6807 GB, free: 11.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03707/0.287, allocations: 12.19 MB / 0.6926 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.87, allocations: 9.531 kB / 0.6926 GB, free: 15.2 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)