Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006735/0.006735, allocations: 171.2 kB / 15.12 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 223.2 MB / 239 MB, free: 44 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.0009011, allocations: 87.03 kB / 290.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4982/0.4982, allocations: 78.59 MB / 419.9 MB, free: 36.51 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005175/0.0005176, allocations: 12 kB / 499.9 MB, free: 7.113 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 69.36 MB / 0.5559 GB, free: 1.691 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test): time 0.002353/0.1427, allocations: 2.347 MB / 0.5582 GB, free: 15.32 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.144, allocations: 0.8616 MB / 0.559 GB, free: 14.46 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1441, allocations: 4 kB / 0.559 GB, free: 14.45 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1443, allocations: 67.52 kB / 0.5591 GB, free: 14.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002317/0.1445, allocations: 119.6 kB / 0.5592 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.1453, allocations: 370.3 kB / 0.5595 GB, free: 13.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.1456, allocations: 271.4 kB / 0.5598 GB, free: 13.64 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.1457, allocations: 81.31 kB / 0.5599 GB, free: 13.56 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1459, allocations: 147.4 kB / 0.56 GB, free: 13.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.1461, allocations: 195.2 kB / 0.5602 GB, free: 13.22 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.1462, allocations: 19.94 kB / 0.5602 GB, free: 13.2 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1463, allocations: 63.91 kB / 0.5603 GB, free: 13.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.128e-05/0.1464, allocations: 63.73 kB / 0.5603 GB, free: 13.08 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.1464, allocations: 81.52 kB / 0.5604 GB, free: 12.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.1468, allocations: 351.4 kB / 0.5608 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.1468, allocations: 0 / 0.5608 GB, free: 12.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1468, allocations: 4 kB / 0.5608 GB, free: 12.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1468, allocations: 0 / 0.5608 GB, free: 12.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.002745/0.1496, allocations: 0.9743 MB / 0.5617 GB, free: 11.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1496, allocations: 8.031 kB / 0.5617 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.088e-05/0.1497, allocations: 58.55 kB / 0.5618 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.1513, allocations: 263.2 kB / 0.562 GB, free: 11.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.1517, allocations: 342.9 kB / 0.5624 GB, free: 10.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.1518, allocations: 87.89 kB / 0.5624 GB, free: 10.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.452e-05/0.1519, allocations: 24 kB / 0.5625 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.1526, allocations: 388.8 kB / 0.5628 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1526, allocations: 3.953 kB / 0.5628 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/0.1527, allocations: 8 kB / 0.5628 GB, free: 10.39 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.1527, allocations: 8 kB / 0.5628 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007371/0.1534, allocations: 390 kB / 0.5632 GB, free: 10 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.1553, allocations: 1.053 MB / 0.5642 GB, free: 8.895 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007217/0.1625, allocations: 1.829 MB / 0.566 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.327e-05/0.1626, allocations: 4 kB / 0.566 GB, free: 7.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1626, allocations: 34.56 kB / 0.5661 GB, free: 7.008 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/0.1626, allocations: 3.938 kB / 0.5661 GB, free: 7.004 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.007169/0.1698, allocations: 2.386 MB / 0.5684 GB, free: 4.547 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1699, allocations: 59.36 kB / 0.5685 GB, free: 4.477 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.1702, allocations: 320.5 kB / 0.5688 GB, free: 4.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.1703, allocations: 29.7 kB / 0.5688 GB, free: 4.125 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1704, allocations: 184.6 kB / 0.569 GB, free: 3.941 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.1705, allocations: 114.4 kB / 0.5691 GB, free: 3.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.481e-05/0.1706, allocations: 4 kB / 0.5691 GB, free: 3.824 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1707, allocations: 342.8 kB / 0.5694 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.1712, allocations: 252.4 kB / 0.5697 GB, free: 3.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.1717, allocations: 245 kB / 0.5699 GB, free: 2.992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.1722, allocations: 249.3 kB / 0.5701 GB, free: 2.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1722, allocations: 0 / 0.5701 GB, free: 2.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.004414/0.1766, allocations: 1.5 MB / 0.5716 GB, free: 1.234 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.1767, allocations: 4 kB / 0.5716 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1767, allocations: 0 / 0.5716 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0032/0.1799, allocations: 0.8884 MB / 0.5725 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1801, allocations: 31.94 kB / 0.5725 GB, free: 308 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2573/0.4374, allocations: 3.159 MB / 0.5756 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.438, allocations: 60.5 kB / 0.5756 GB, free: 43.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.438, allocations: 11.72 kB / 0.5756 GB, free: 43.88 MB / 442.7 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.4382, allocations: 142.7 kB / 0.5758 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.961e-05/0.4383, allocations: 35.25 kB / 0.5758 GB, free: 43.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.4425, allocations: 1.453 MB / 0.5772 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4425, allocations: 2.234 kB / 0.5772 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4425, allocations: 3.469 kB / 0.5772 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4425, allocations: 3.234 kB / 0.5772 GB, free: 43.68 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.443, allocations: 0.5198 MB / 0.5777 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.443, allocations: 0 / 0.5777 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.4432, allocations: 29.02 kB / 0.5778 GB, free: 43.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002574/0.4458, allocations: 0.8023 MB / 0.5786 GB, free: 43.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.4458, allocations: 6.797 kB / 0.5786 GB, free: 43.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00409/0.4499, allocations: 2.736 MB / 0.5812 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4499, allocations: 0 / 0.5812 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.4545, allocations: 1.836 MB / 0.583 GB, free: 41.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/0.4546, allocations: 118.6 kB / 0.5831 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.4547, allocations: 8.219 kB / 0.5832 GB, free: 41.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.4551, allocations: 48.22 kB / 0.5832 GB, free: 41.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/0.4553, allocations: 86.31 kB / 0.5833 GB, free: 41.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.4553, allocations: 7.781 kB / 0.5833 GB, free: 41.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.4555, allocations: 227.5 kB / 0.5835 GB, free: 41.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4555, allocations: 7.938 kB / 0.5835 GB, free: 41.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004971/0.456, allocations: 141.6 kB / 0.5836 GB, free: 41.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (motorTypeI.s) * 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 (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004921/0.461, allocations: 2.388 MB / 0.586 GB, free: 40.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.4634, allocations: 1.086 MB / 0.587 GB, free: 40.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4634, allocations: 0 / 0.587 GB, free: 40.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.4651, allocations: 0.7903 MB / 0.5878 GB, free: 40.24 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.4654, allocations: 26.64 kB / 0.5878 GB, free: 40.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.4772, allocations: 3.827 MB / 0.5916 GB, free: 39.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.4775, allocations: 0.7988 MB / 0.5924 GB, free: 38.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.4776, allocations: 23.03 kB / 0.5924 GB, free: 38.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.4778, allocations: 109 kB / 0.5925 GB, free: 38.68 MB / 442.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4778, allocations: 0 / 0.5925 GB, free: 38.68 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.4989, allocations: 10.16 MB / 0.6024 GB, free: 38.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.4991, allocations: 235.9 kB / 0.6026 GB, free: 38.01 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/2.663, allocations: 0 / 0.6026 GB, free: 38.01 MB / 442.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_InductiveMotorI_SIMBOpenline_Test.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.InductiveMotorI_SIMBOpenline_Test.pipe 2>&1)