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/Complex 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) 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-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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7677/0.7677, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.476/1.476, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009066/0.0009067, allocations: 91.03 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.31e-05/1.311e-05, allocations: 4 kB / 0.5535 GB, free: 9.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4383/0.4384, allocations: 82.3 MB / 0.6338 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.5772, allocations: 111.3 MB / 0.7426 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.5774, allocations: 75.95 kB / 0.7426 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004979/0.5824, allocations: 1.734 MB / 0.7443 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5824, allocations: 0 / 0.7443 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.5825, allocations: 0 / 0.7443 GB, free: 9.633 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.0005066/0.583, allocations: 394.1 kB / 0.7447 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.583, allocations: 8.031 kB / 0.7447 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.5831, allocations: 7.906 kB / 0.7447 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.5833, allocations: 206.8 kB / 0.7449 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5834, allocations: 0 / 0.7449 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.5834, allocations: 4 kB / 0.7449 GB, free: 8.941 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001692/0.5836, allocations: 63.91 kB / 0.745 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.5837, allocations: 81.66 kB / 0.7451 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.5837, allocations: 3.984 kB / 0.7451 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5838, allocations: 0 / 0.7451 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5838, allocations: 4 kB / 0.7451 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000605/0.5844, allocations: 353.1 kB / 0.7454 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.086e-05/0.5845, allocations: 50.5 kB / 0.7455 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.5845, allocations: 32.97 kB / 0.7455 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.5846, allocations: 4 kB / 0.7455 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.5846, allocations: 34.56 kB / 0.7455 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.623e-06/0.5846, allocations: 0 / 0.7455 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002453/0.5849, allocations: 101.5 kB / 0.7456 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.5849, allocations: 51.41 kB / 0.7457 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.585, allocations: 118.4 kB / 0.7458 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.585, allocations: 29.7 kB / 0.7458 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.5851, allocations: 104.3 kB / 0.7459 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.5851, allocations: 15.7 kB / 0.7459 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.5851, allocations: 0 / 0.7459 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.5852, allocations: 322.8 kB / 0.7462 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.5853, allocations: 20 kB / 0.7462 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.5853, allocations: 23.98 kB / 0.7463 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.5854, allocations: 35.92 kB / 0.7463 GB, free: 7.41 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5854, allocations: 4 kB / 0.7463 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001589/0.5856, allocations: 97.75 kB / 0.7464 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.5856, allocations: 4 kB / 0.7464 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5856, allocations: 0 / 0.7464 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.5856, allocations: 4 kB / 0.7464 GB, free: 7.297 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.5858, allocations: 27.88 kB / 0.7464 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5858, allocations: 0 / 0.7464 GB, free: 7.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.789e-05/0.5859, allocations: 15.98 kB / 0.7465 GB, free: 7.254 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.5859, allocations: 4 kB / 0.7465 GB, free: 7.25 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.054e-05/0.586, allocations: 101 kB / 0.7466 GB, free: 7.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.264e-05/0.5861, allocations: 7.906 kB / 0.7466 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.5863, allocations: 118.2 kB / 0.7467 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.5863, allocations: 0 / 0.7467 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.5864, allocations: 3.953 kB / 0.7467 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5864, allocations: 0 / 0.7467 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.5866, allocations: 182.1 kB / 0.7468 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.5866, allocations: 4 kB / 0.7469 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.5867, allocations: 23.92 kB / 0.7469 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5867, allocations: 4 kB / 0.7469 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.5867, allocations: 3.984 kB / 0.7469 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5867, allocations: 0 / 0.7469 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.5867, allocations: 0 / 0.7469 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.587, allocations: 195.4 kB / 0.7471 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.587, allocations: 85.02 kB / 0.7472 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.587, allocations: 192 / 0.7472 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.98e-05/0.5871, allocations: 15.98 kB / 0.7472 GB, free: 6.434 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.5872, allocations: 7.938 kB / 0.7472 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.5872, allocations: 11.98 kB / 0.7472 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.922e-05/0.5873, allocations: 92.84 kB / 0.7473 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5873, allocations: 0 / 0.7473 GB, free: 6.324 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000223/0.5875, allocations: 12 kB / 0.7473 GB, free: 6.312 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.0001342/0.5877, allocations: 111.1 kB / 0.7474 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.5878, allocations: 71.98 kB / 0.7475 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5878, allocations: 3.938 kB / 0.7475 GB, free: 6.121 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.222e-05/0.5879, allocations: 35.98 kB / 0.7475 GB, free: 6.086 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.5881, allocations: 7.953 kB / 0.7475 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003152/0.5884, allocations: 136.2 kB / 0.7476 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.5887, allocations: 0.7119 MB / 0.7483 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.527e-05/0.5888, allocations: 19.95 kB / 0.7484 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.5888, allocations: 7.438 kB / 0.7484 GB, free: 5.16 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.5888, allocations: 4 kB / 0.7484 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of Templates: time 0.00228/0.5911, allocations: 0.5534 MB / 0.7489 GB, free: 4.605 MB / 0.5261 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)