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: translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") translateModel(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001562/0.001561, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.392/1.392, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001404/0.001404, allocations: 199.9 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5517/0.5517, allocations: 91.91 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 75.56 kB / 0.5734 GB, free: 33.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1542, allocations: 71.28 MB / 0.643 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test): time 0.003982/0.1582, allocations: 2.995 MB / 0.6459 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1601, allocations: 0.9472 MB / 0.6468 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1604, allocations: 4 kB / 0.6468 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1607, allocations: 95.27 kB / 0.6469 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1611, allocations: 146.9 kB / 0.6471 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.1621, allocations: 473.5 kB / 0.6475 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005339/0.1627, allocations: 0.502 MB / 0.648 GB, free: 14.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002128/0.1629, allocations: 105 kB / 0.6481 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.1631, allocations: 211.1 kB / 0.6483 GB, free: 14.14 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003648/0.1635, allocations: 282.8 kB / 0.6486 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.1636, allocations: 40 kB / 0.6486 GB, free: 13.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.1638, allocations: 99.92 kB / 0.6487 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.981e-05/0.1639, allocations: 111.5 kB / 0.6488 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.1641, allocations: 222.8 kB / 0.649 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006095/0.1647, allocations: 0.5644 MB / 0.6496 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1647, allocations: 0 / 0.6496 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1647, allocations: 0 / 0.6496 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1647, allocations: 4 kB / 0.6496 GB, free: 12.82 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.003334/0.1681, allocations: 1.107 MB / 0.6507 GB, free: 11.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1681, allocations: 12.03 kB / 0.6507 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.1698, allocations: 276 kB / 0.6509 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005259/0.1704, allocations: 402.1 kB / 0.6513 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.1705, allocations: 96.02 kB / 0.6514 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.1706, allocations: 32 kB / 0.6514 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.1714, allocations: 388.7 kB / 0.6518 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1714, allocations: 7.984 kB / 0.6518 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.1714, allocations: 8 kB / 0.6518 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-06/0.1715, allocations: 8 kB / 0.6518 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.1722, allocations: 394 kB / 0.6522 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001947/0.1742, allocations: 1.088 MB / 0.6533 GB, free: 8.883 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006821/0.181, allocations: 1.38 MB / 0.6546 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.1817, allocations: 276.8 kB / 0.6549 GB, free: 7.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.1817, allocations: 7.984 kB / 0.6549 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1818, allocations: 30.56 kB / 0.6549 GB, free: 7.168 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.394e-06/0.1818, allocations: 0 / 0.6549 GB, free: 7.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.006479/0.1883, allocations: 1.959 MB / 0.6568 GB, free: 5.137 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1883, allocations: 55.41 kB / 0.6569 GB, free: 5.07 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.1889, allocations: 401.6 kB / 0.6573 GB, free: 4.672 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.1889, allocations: 37.7 kB / 0.6573 GB, free: 4.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1891, allocations: 204.6 kB / 0.6575 GB, free: 4.426 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.1892, allocations: 126.1 kB / 0.6576 GB, free: 4.301 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.1894, allocations: 62.03 kB / 0.6577 GB, free: 4.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1895, allocations: 350.8 kB / 0.658 GB, free: 3.879 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.19, allocations: 228.5 kB / 0.6582 GB, free: 3.656 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.1905, allocations: 229.2 kB / 0.6585 GB, free: 3.434 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.1915, allocations: 498.9 kB / 0.6589 GB, free: 2.945 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1916, allocations: 0 / 0.6589 GB, free: 2.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00409/0.1957, allocations: 1.272 MB / 0.6602 GB, free: 1.656 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.1957, allocations: 8.625 kB / 0.6602 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1957, allocations: 0 / 0.6602 GB, free: 1.648 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003034/0.1987, allocations: 0.7692 MB / 0.6609 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.199, allocations: 35.98 kB / 0.661 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.2049, allocations: 3.114 MB / 0.664 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.2055, allocations: 43.8 kB / 0.664 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.821e-05/0.2056, allocations: 12 kB / 0.6641 GB, free: 13.53 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.0002204/0.2058, allocations: 152.2 kB / 0.6642 GB, free: 13.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.2059, allocations: 39.53 kB / 0.6642 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003811/0.2097, allocations: 1.222 MB / 0.6654 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.2097, allocations: 7.938 kB / 0.6654 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2097, allocations: 0 / 0.6654 GB, free: 12.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.2098, allocations: 11.86 kB / 0.6655 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.2104, allocations: 0.5361 MB / 0.666 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2104, allocations: 0 / 0.666 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002608/0.2107, allocations: 31.98 kB / 0.666 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002253/0.2129, allocations: 0.6229 MB / 0.6666 GB, free: 10.82 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.213, allocations: 11.94 kB / 0.6666 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/0.2173, allocations: 2.548 MB / 0.6691 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2174, allocations: 7.938 kB / 0.6691 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004516/0.2219, allocations: 1.574 MB / 0.6707 GB, free: 6.516 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.2221, allocations: 128.5 kB / 0.6708 GB, free: 6.371 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.2221, allocations: 7.938 kB / 0.6708 GB, free: 6.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.2226, allocations: 31.95 kB / 0.6708 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.2228, allocations: 87.88 kB / 0.6709 GB, free: 6.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.2228, allocations: 12 kB / 0.6709 GB, free: 6.234 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000322/0.2232, allocations: 291.2 kB / 0.6712 GB, free: 5.949 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2232, allocations: 0 / 0.6712 GB, free: 5.949 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005207/0.2237, allocations: 139.8 kB / 0.6713 GB, free: 5.812 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.000194/0.2239, allocations: 119.7 kB / 0.6714 GB, free: 5.688 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002852/0.2268, allocations: 1.088 MB / 0.6725 GB, free: 4.543 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2268, allocations: 0 / 0.6725 GB, free: 4.543 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001745/0.2285, allocations: 0.7208 MB / 0.6732 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.229, allocations: 34.97 kB / 0.6732 GB, free: 3.734 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.2307, allocations: 0.8803 MB / 0.6741 GB, free: 2.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.2311, allocations: 0.8033 MB / 0.6749 GB, free: 1.984 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.2312, allocations: 31.42 kB / 0.6749 GB, free: 1.957 MB / 478.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2312, allocations: 0 / 0.6749 GB, free: 1.957 MB / 478.1 MB Notification: Performance of Templates: time 0.01215/0.2434, allocations: 10.52 MB / 0.6852 GB, free: 7.426 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.InductiveMotorIII_SIMBOpenline_Test.pipe 2>&1)