Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004857/0.004857, allocations: 100.1 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7839/0.7839, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001246, allocations: 68.2 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1492, allocations: 80.92 MB / 0.6646 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003089/0.1524, allocations: 1.601 MB / 0.6662 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008222/0.1533, allocations: 0.5113 MB / 0.6667 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.396e-05/0.1533, allocations: 0 / 0.6667 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001205/0.1535, allocations: 7.875 kB / 0.6667 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.841e-05/0.1535, allocations: 15.86 kB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.1538, allocations: 39.89 kB / 0.6668 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.154, allocations: 79.7 kB / 0.6668 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1542, allocations: 40.2 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.1543, allocations: 43.84 kB / 0.6669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.1544, allocations: 43.78 kB / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.213e-05/0.1544, allocations: 8 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.458e-05/0.1545, allocations: 8 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1545, allocations: 23.91 kB / 0.667 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.1546, allocations: 43.73 kB / 0.667 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1548, allocations: 87.64 kB / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1548, allocations: 0 / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1548, allocations: 0 / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.1549, allocations: 0 / 0.6671 GB, free: 3.234 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005784/0.1554, allocations: 403.1 kB / 0.6675 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1555, allocations: 13.11 kB / 0.6675 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1555, allocations: 12.78 kB / 0.6675 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1557, allocations: 200 kB / 0.6677 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1557, allocations: 4.375 kB / 0.6677 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.1558, allocations: 4.375 kB / 0.6677 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.156, allocations: 110 kB / 0.6678 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.156, allocations: 0 / 0.6678 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.156, allocations: 7.984 kB / 0.6678 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.156, allocations: 0 / 0.6678 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.1563, allocations: 95.94 kB / 0.6679 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005717/0.1569, allocations: 376.5 kB / 0.6683 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.157, allocations: 66.48 kB / 0.6684 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.1571, allocations: 48.95 kB / 0.6684 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.1572, allocations: 11.92 kB / 0.6684 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1572, allocations: 30.56 kB / 0.6685 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1572, allocations: 0 / 0.6685 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004585/0.1577, allocations: 165.5 kB / 0.6686 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1577, allocations: 51.41 kB / 0.6687 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1578, allocations: 139.1 kB / 0.6688 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.1579, allocations: 29.7 kB / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.617e-05/0.1579, allocations: 100.2 kB / 0.6689 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.1579, allocations: 23.64 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.158, allocations: 21.72 kB / 0.669 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1581, allocations: 326.8 kB / 0.6693 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.1582, allocations: 39.97 kB / 0.6693 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.1583, allocations: 35.97 kB / 0.6693 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1585, allocations: 88.8 kB / 0.6694 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1585, allocations: 4 kB / 0.6694 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002393/0.1588, allocations: 121.5 kB / 0.6695 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1588, allocations: 8 kB / 0.6696 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1588, allocations: 4.422 kB / 0.6696 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1588, allocations: 0 / 0.6696 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.159, allocations: 23.86 kB / 0.6696 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.159, allocations: 0 / 0.6696 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.1591, allocations: 19.92 kB / 0.6696 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.1591, allocations: 0 / 0.6696 GB, free: 492 kB / 0.4981 GB 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.379e-05/0.1592, allocations: 125.8 kB / 0.6697 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.1592, allocations: 7.906 kB / 0.6697 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.1596, allocations: 138.3 kB / 0.6699 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1596, allocations: 3.938 kB / 0.6699 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1596, allocations: 7.984 kB / 0.6699 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1596, allocations: 0 / 0.6699 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002179/0.1598, allocations: 213.5 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1598, allocations: 4 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.846e-05/0.1599, allocations: 23.91 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.16, allocations: 0 / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.16, allocations: 4 kB / 0.6701 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.16, allocations: 3.938 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.16, allocations: 0 / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1603, allocations: 223.4 kB / 0.6703 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.692e-05/0.1604, allocations: 85.02 kB / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1604, allocations: 0 / 0.6704 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-05/0.1605, allocations: 11.92 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1605, allocations: 4 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.1605, allocations: 11.98 kB / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.1606, allocations: 105 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1606, allocations: 0 / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002277/0.1608, allocations: 16 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001385/0.161, allocations: 104.6 kB / 0.6706 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.1613, allocations: 100 kB / 0.6707 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1613, allocations: 4 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1614, allocations: 51.91 kB / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1616, allocations: 8 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004038/0.162, allocations: 219 kB / 0.671 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.1623, allocations: 0.6963 MB / 0.6717 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.591e-05/0.1624, allocations: 11.98 kB / 0.6717 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.1624, allocations: 11.44 kB / 0.6717 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.144e-06/0.1624, allocations: 0 / 0.6717 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.002943/0.1654, allocations: 0.7303 MB / 0.6724 GB, free: 13.43 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)