Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001122/0.001122, allocations: 108.9 kB / 16.37 MB, free: 6.344 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.001048/0.001048, allocations: 189.4 kB / 17.3 MB, free: 5.898 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7594/0.7594, allocations: 132.2 MB / 423.3 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.56 kB / 0.5819 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1375, allocations: 80.22 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002508/0.14, allocations: 1.582 MB / 0.6618 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008408/0.1409, allocations: 0.5074 MB / 0.6623 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.1409, allocations: 0 / 0.6623 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.141, allocations: 11.86 kB / 0.6623 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.704e-05/0.1411, allocations: 19.8 kB / 0.6624 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.1413, allocations: 39.95 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1415, allocations: 83.7 kB / 0.6625 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1416, allocations: 40.2 kB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.155e-05/0.1417, allocations: 39.8 kB / 0.6625 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.1418, allocations: 39.83 kB / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.1418, allocations: 8 kB / 0.6626 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.1419, allocations: 15.98 kB / 0.6626 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.1419, allocations: 19.92 kB / 0.6626 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.142, allocations: 43.73 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1421, allocations: 87.64 kB / 0.6628 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1421, allocations: 0 / 0.6628 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1421, allocations: 0 / 0.6628 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1422, allocations: 4 kB / 0.6628 GB, free: 7.73 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.0005009/0.1427, allocations: 403.1 kB / 0.6631 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1427, allocations: 12.03 kB / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.1427, allocations: 12.75 kB / 0.6632 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.1429, allocations: 200.1 kB / 0.6634 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1429, allocations: 384 / 0.6634 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.143, allocations: 8.375 kB / 0.6634 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.1432, allocations: 113.9 kB / 0.6635 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1432, allocations: 0 / 0.6635 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1433, allocations: 4 kB / 0.6635 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1433, allocations: 0 / 0.6635 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.1435, allocations: 99.86 kB / 0.6636 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.1441, allocations: 376.6 kB / 0.6639 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1443, allocations: 58.48 kB / 0.664 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1444, allocations: 48.95 kB / 0.664 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1444, allocations: 4 kB / 0.664 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1445, allocations: 34.55 kB / 0.6641 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1445, allocations: 0 / 0.6641 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004668/0.1449, allocations: 169.5 kB / 0.6642 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.145, allocations: 55.34 kB / 0.6643 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.1451, allocations: 139.2 kB / 0.6644 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1451, allocations: 25.7 kB / 0.6644 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.1452, allocations: 108.2 kB / 0.6645 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.1452, allocations: 19.73 kB / 0.6646 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.1453, allocations: 29.7 kB / 0.6646 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.1454, allocations: 314.8 kB / 0.6649 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1455, allocations: 39.97 kB / 0.6649 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.1456, allocations: 39.97 kB / 0.665 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1458, allocations: 93.17 kB / 0.6651 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1458, allocations: 4 kB / 0.6651 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000269/0.1461, allocations: 121.5 kB / 0.6652 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1461, allocations: 11.94 kB / 0.6652 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1461, allocations: 0 / 0.6652 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.1461, allocations: 0 / 0.6652 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.1463, allocations: 27.84 kB / 0.6652 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1463, allocations: 3.984 kB / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.345e-05/0.1464, allocations: 12 kB / 0.6652 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.1464, allocations: 0 / 0.6652 GB, free: 4.973 MB / 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.181e-05/0.1465, allocations: 121.8 kB / 0.6653 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.212e-05/0.1465, allocations: 7.906 kB / 0.6654 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.1469, allocations: 146.2 kB / 0.6655 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1469, allocations: 3.938 kB / 0.6655 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.1469, allocations: 4 kB / 0.6655 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1469, allocations: 7.984 kB / 0.6655 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1471, allocations: 201.6 kB / 0.6657 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1471, allocations: 0 / 0.6657 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1472, allocations: 15.98 kB / 0.6657 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1472, allocations: 0 / 0.6657 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1473, allocations: 3.984 kB / 0.6657 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1473, allocations: 7.938 kB / 0.6657 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1473, allocations: 0 / 0.6657 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.1476, allocations: 223.5 kB / 0.6659 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.1477, allocations: 92.94 kB / 0.666 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/0.1477, allocations: 0 / 0.666 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1478, allocations: 11.94 kB / 0.666 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.1478, allocations: 7.984 kB / 0.6661 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/0.1479, allocations: 4 kB / 0.6661 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.84e-05/0.1479, allocations: 105.4 kB / 0.6662 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1479, allocations: 4 kB / 0.6662 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002463/0.1482, allocations: 12 kB / 0.6662 GB, free: 3.906 MB / 0.4981 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.0001318/0.1483, allocations: 95.25 kB / 0.6663 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002955/0.1486, allocations: 99.94 kB / 0.6664 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1486, allocations: 3.938 kB / 0.6664 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.1488, allocations: 63.89 kB / 0.6664 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.149, allocations: 0 / 0.6664 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004396/0.1494, allocations: 248.7 kB / 0.6667 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1497, allocations: 0.7002 MB / 0.6673 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.1497, allocations: 11.42 kB / 0.6674 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1497, allocations: 7.938 kB / 0.6674 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.002578/0.1523, allocations: 1.119 MB / 0.6685 GB, free: 1.5 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)