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.00487/0.00487, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.329/1.329, allocations: 222.9 MB / 239.4 MB, free: 4.453 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.001276/0.001276, allocations: 190.8 kB / 289.7 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5066/0.5066, allocations: 91.9 MB / 431.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 86.97 kB / 0.5722 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1288, allocations: 71.3 MB / 0.6418 GB, free: 4.074 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.004109/0.133, allocations: 2.983 MB / 0.6448 GB, free: 1.074 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1348, allocations: 0.9511 MB / 0.6457 GB, free: 124 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.1349, allocations: 4 kB / 0.6457 GB, free: 120 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1353, allocations: 95.27 kB / 0.6458 GB, free: 24 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1356, allocations: 166.8 kB / 0.6459 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009205/0.1365, allocations: 471 kB / 0.6464 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004477/0.137, allocations: 0.5098 MB / 0.6469 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.1372, allocations: 95.84 kB / 0.647 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1374, allocations: 207.1 kB / 0.6472 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.1377, allocations: 278.8 kB / 0.6474 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.1378, allocations: 48 kB / 0.6475 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.138, allocations: 99.97 kB / 0.6476 GB, free: 14.17 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.1381, allocations: 115.5 kB / 0.6477 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.1383, allocations: 222.8 kB / 0.6479 GB, free: 13.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005719/0.1389, allocations: 0.5652 MB / 0.6485 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1389, allocations: 0 / 0.6485 GB, free: 13.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1389, allocations: 0 / 0.6485 GB, free: 13.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1389, allocations: 0 / 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.003184/0.1421, allocations: 1.114 MB / 0.6495 GB, free: 12.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1422, allocations: 12.03 kB / 0.6496 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.1422, allocations: 58.73 kB / 0.6496 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.1438, allocations: 272 kB / 0.6499 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004969/0.1443, allocations: 402.1 kB / 0.6503 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1444, allocations: 91.83 kB / 0.6503 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.1445, allocations: 28 kB / 0.6504 GB, free: 11.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007541/0.1452, allocations: 404.7 kB / 0.6508 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1453, allocations: 0 / 0.6508 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.1453, allocations: 8 kB / 0.6508 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.1453, allocations: 8 kB / 0.6508 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007818/0.1461, allocations: 390 kB / 0.6511 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.148, allocations: 1.091 MB / 0.6522 GB, free: 9.262 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006061/0.1541, allocations: 1.382 MB / 0.6536 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005509/0.1546, allocations: 276.7 kB / 0.6538 GB, free: 7.594 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.762e-05/0.1547, allocations: 8 kB / 0.6538 GB, free: 7.586 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1548, allocations: 38.5 kB / 0.6539 GB, free: 7.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/0.1548, allocations: 0 / 0.6539 GB, free: 7.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.00607/0.1608, allocations: 1.956 MB / 0.6558 GB, free: 5.512 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1609, allocations: 59.34 kB / 0.6558 GB, free: 5.441 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.1615, allocations: 397.6 kB / 0.6562 GB, free: 5.047 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.1615, allocations: 37.64 kB / 0.6562 GB, free: 5.004 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1617, allocations: 208.5 kB / 0.6564 GB, free: 4.797 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1618, allocations: 118.2 kB / 0.6566 GB, free: 4.68 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.162, allocations: 66.02 kB / 0.6566 GB, free: 4.605 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1621, allocations: 350.8 kB / 0.657 GB, free: 4.254 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.1626, allocations: 224.5 kB / 0.6572 GB, free: 4.035 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.1631, allocations: 233.2 kB / 0.6574 GB, free: 3.809 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009762/0.1641, allocations: 490.9 kB / 0.6579 GB, free: 3.328 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1641, allocations: 0 / 0.6579 GB, free: 3.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003858/0.1679, allocations: 1.283 MB / 0.6591 GB, free: 2.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.168, allocations: 8 kB / 0.6591 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.168, allocations: 0 / 0.6591 GB, free: 2.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002884/0.1709, allocations: 0.7673 MB / 0.6599 GB, free: 1.242 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1711, allocations: 39.97 kB / 0.6599 GB, free: 1.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005793/0.1769, allocations: 3.102 MB / 0.6629 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.1774, allocations: 47.75 kB / 0.663 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.1775, allocations: 8 kB / 0.663 GB, free: 13.91 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.000218/0.1777, allocations: 157.7 kB / 0.6631 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1778, allocations: 51.36 kB / 0.6632 GB, free: 13.69 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.1813, allocations: 1.214 MB / 0.6644 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1813, allocations: 4 kB / 0.6644 GB, free: 12.45 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.1814, allocations: 11.94 kB / 0.6644 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1814, allocations: 3.938 kB / 0.6644 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006396/0.182, allocations: 0.5244 MB / 0.6649 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.182, allocations: 0 / 0.6649 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.1823, allocations: 39.92 kB / 0.6649 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.1844, allocations: 0.619 MB / 0.6656 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.1844, allocations: 8 kB / 0.6656 GB, free: 11.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004036/0.1885, allocations: 2.547 MB / 0.668 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1885, allocations: 0 / 0.668 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.1925, allocations: 1.586 MB / 0.6696 GB, free: 6.891 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.1927, allocations: 128.5 kB / 0.6697 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.1927, allocations: 11.94 kB / 0.6697 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.1932, allocations: 35.97 kB / 0.6698 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.1934, allocations: 83.88 kB / 0.6698 GB, free: 6.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.1934, allocations: 11.98 kB / 0.6699 GB, free: 6.605 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003134/0.1938, allocations: 287.2 kB / 0.6701 GB, free: 6.324 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1938, allocations: 0 / 0.6701 GB, free: 6.324 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000508/0.1943, allocations: 143.8 kB / 0.6703 GB, free: 6.184 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.004361/0.1987, allocations: 2.139 MB / 0.6724 GB, free: 4.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.2014, allocations: 1.076 MB / 0.6734 GB, free: 2.875 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2014, allocations: 0 / 0.6734 GB, free: 2.875 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.203, allocations: 0.7247 MB / 0.6741 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004586/0.2035, allocations: 34.75 kB / 0.6741 GB, free: 2.062 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.2152, allocations: 5.692 MB / 0.6797 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.2156, allocations: 0.8033 MB / 0.6805 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001357/0.2158, allocations: 30.97 kB / 0.6805 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.216, allocations: 139.4 kB / 0.6807 GB, free: 11.27 MB / 494.1 MB Notification: Performance of SimCode: time 7.21e-07/0.216, allocations: 0 / 0.6807 GB, free: 11.27 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.2535, allocations: 12.19 MB / 0.6926 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.69, allocations: 18.22 kB / 0.6926 GB, free: 15.23 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_InductiveMotorIII_SIMBOpenline_Test.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)