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/Complex 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) 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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: 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/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8847/0.8847, allocations: 130.7 MB / 138.7 MB, free: 3.461 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 221.5 MB / 391.8 MB, free: 14.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009525/0.0009524, allocations: 100.4 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.2e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4746/0.4747, allocations: 81.57 MB / 0.6282 GB, free: 42.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.6348, allocations: 111.1 MB / 0.7367 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6351, allocations: 75.95 kB / 0.7367 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005677/0.6408, allocations: 1.741 MB / 0.7384 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6409, allocations: 2.344 kB / 0.7384 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.6409, allocations: 0 / 0.7384 GB, free: 13.86 MB / 0.5261 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.0004614/0.6414, allocations: 386.2 kB / 0.7388 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.6414, allocations: 15.97 kB / 0.7388 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.988e-05/0.6415, allocations: 15.86 kB / 0.7388 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.6418, allocations: 192.1 kB / 0.739 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.6418, allocations: 4 kB / 0.739 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.6418, allocations: 7.938 kB / 0.739 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001683/0.642, allocations: 59.97 kB / 0.7391 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.6422, allocations: 83.77 kB / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6422, allocations: 3.938 kB / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.6422, allocations: 0 / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.6422, allocations: 4 kB / 0.7392 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006711/0.6429, allocations: 357.1 kB / 0.7395 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.866e-05/0.643, allocations: 46.52 kB / 0.7396 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.535e-05/0.6431, allocations: 36.91 kB / 0.7396 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.625e-05/0.6431, allocations: 4 kB / 0.7396 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.6432, allocations: 34.52 kB / 0.7396 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.6432, allocations: 0 / 0.7396 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0003258/0.6435, allocations: 97.56 kB / 0.7397 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.6436, allocations: 55.41 kB / 0.7398 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.6437, allocations: 114.6 kB / 0.7399 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6437, allocations: 29.7 kB / 0.7399 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.6438, allocations: 104.3 kB / 0.74 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.6438, allocations: 19.72 kB / 0.74 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.6438, allocations: 0.9375 kB / 0.74 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.644, allocations: 318.8 kB / 0.7403 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.481e-05/0.644, allocations: 23.94 kB / 0.7404 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-05/0.6441, allocations: 27.98 kB / 0.7404 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.095e-05/0.6442, allocations: 23.98 kB / 0.7404 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6442, allocations: 0 / 0.7404 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001788/0.6444, allocations: 101.6 kB / 0.7405 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.6444, allocations: 8 kB / 0.7405 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.6444, allocations: 0 / 0.7405 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.6444, allocations: 3.953 kB / 0.7405 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6446, allocations: 23.92 kB / 0.7405 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.6446, allocations: 0 / 0.7405 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.6447, allocations: 11.98 kB / 0.7405 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.6447, allocations: 8 kB / 0.7406 GB, free: 11.48 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.549e-05/0.6448, allocations: 106.6 kB / 0.7407 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.6449, allocations: 11.89 kB / 0.7407 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.6451, allocations: 114.2 kB / 0.7408 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.6451, allocations: 7.953 kB / 0.7408 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.6451, allocations: 3.938 kB / 0.7408 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6451, allocations: 0 / 0.7408 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.6453, allocations: 174.1 kB / 0.741 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6454, allocations: 0.875 kB / 0.741 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.6455, allocations: 27.97 kB / 0.741 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6455, allocations: 0 / 0.741 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.6455, allocations: 4 kB / 0.741 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6455, allocations: 0 / 0.741 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.6455, allocations: 4 kB / 0.741 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.6458, allocations: 196.2 kB / 0.7412 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.6458, allocations: 85.02 kB / 0.7413 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.6458, allocations: 7.984 kB / 0.7413 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.646, allocations: 12.36 kB / 0.7413 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.646, allocations: 7.984 kB / 0.7413 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.646, allocations: 0 / 0.7413 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.877e-05/0.6461, allocations: 101.3 kB / 0.7414 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6461, allocations: 0 / 0.7414 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002499/0.6464, allocations: 19.95 kB / 0.7414 GB, free: 10.54 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001735/0.6465, allocations: 103.2 kB / 0.7415 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.6467, allocations: 75.91 kB / 0.7416 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.6467, allocations: 4 kB / 0.7416 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.6468, allocations: 35.98 kB / 0.7416 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.6469, allocations: 0 / 0.7416 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.6473, allocations: 132.3 kB / 0.7417 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.6476, allocations: 0.7041 MB / 0.7424 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.6477, allocations: 19.91 kB / 0.7424 GB, free: 9.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.6477, allocations: 11.44 kB / 0.7425 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6477, allocations: 0 / 0.7425 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of Templates: time 0.002744/0.6505, allocations: 0.5584 MB / 0.743 GB, free: 8.848 MB / 0.5261 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)