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.006954/0.006954, allocations: 170.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.3 MB / 148.1 MB, free: 216 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 223.2 MB / 403.2 MB, free: 6.711 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.0008579/0.0008578, allocations: 97.14 kB / 485.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 8 kB / 0.5641 GB, free: 2.117 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4099, allocations: 81.58 MB / 0.6437 GB, free: 39.28 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1586/0.5685, allocations: 111.8 MB / 0.753 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5689, allocations: 75.97 kB / 0.753 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.006002/0.5749, allocations: 1.75 MB / 0.7547 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.387e-06/0.5749, allocations: 0 / 0.7547 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.5749, allocations: 7.938 kB / 0.7548 GB, free: 6.281 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.0005328/0.5755, allocations: 398.9 kB / 0.7551 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5755, allocations: 8.031 kB / 0.7551 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.5756, allocations: 15.86 kB / 0.7552 GB, free: 5.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/0.5758, allocations: 198.8 kB / 0.7553 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.5758, allocations: 4 kB / 0.7553 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.5758, allocations: 4 kB / 0.7554 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.5761, allocations: 109.6 kB / 0.7555 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.5762, allocations: 0 / 0.7555 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.5762, allocations: 4 kB / 0.7555 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.5762, allocations: 8 kB / 0.7555 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.5765, allocations: 103.9 kB / 0.7556 GB, free: 5.352 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.5772, allocations: 388.5 kB / 0.7559 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.5773, allocations: 66.48 kB / 0.756 GB, free: 4.848 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.5774, allocations: 16 kB / 0.756 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.5774, allocations: 34.56 kB / 0.756 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.5774, allocations: 0 / 0.756 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0004999/0.578, allocations: 181.5 kB / 0.7562 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.578, allocations: 55.34 kB / 0.7563 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5781, allocations: 115 kB / 0.7564 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.5781, allocations: 29.7 kB / 0.7564 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.5782, allocations: 104.2 kB / 0.7565 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.5783, allocations: 23.88 kB / 0.7565 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.5783, allocations: 4 kB / 0.7565 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5784, allocations: 314.8 kB / 0.7568 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.5785, allocations: 43.97 kB / 0.7569 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.5787, allocations: 43.97 kB / 0.7569 GB, free: 3.848 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.5788, allocations: 43.97 kB / 0.757 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5788, allocations: 0 / 0.757 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002794/0.5791, allocations: 137.5 kB / 0.7571 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5791, allocations: 7.953 kB / 0.7571 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.5791, allocations: 0 / 0.7571 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.5791, allocations: 0 / 0.7571 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.5793, allocations: 27.92 kB / 0.7571 GB, free: 3.629 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.5793, allocations: 4 kB / 0.7571 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.738e-05/0.5794, allocations: 19.89 kB / 0.7572 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.5794, allocations: 4 kB / 0.7572 GB, free: 3.602 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.5795, allocations: 117.8 kB / 0.7573 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.5796, allocations: 12.28 kB / 0.7573 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.58, allocations: 158.3 kB / 0.7574 GB, free: 3.301 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.58, allocations: 4 kB / 0.7574 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.58, allocations: 0 / 0.7574 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.58, allocations: 3.938 kB / 0.7574 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.5802, allocations: 209.5 kB / 0.7576 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5802, allocations: 0 / 0.7576 GB, free: 3.039 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5803, allocations: 19.98 kB / 0.7577 GB, free: 3.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5804, allocations: 4 kB / 0.7577 GB, free: 3.016 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.5804, allocations: 7.984 kB / 0.7577 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.5804, allocations: 7.953 kB / 0.7577 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5804, allocations: 0 / 0.7577 GB, free: 3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.5807, allocations: 231.3 kB / 0.7579 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.133e-05/0.5808, allocations: 81.02 kB / 0.758 GB, free: 2.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.5808, allocations: 8 kB / 0.758 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/0.5809, allocations: 8 kB / 0.758 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.5809, allocations: 11.88 kB / 0.758 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.581, allocations: 7.984 kB / 0.758 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.542e-05/0.581, allocations: 109.6 kB / 0.7581 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/0.581, allocations: 0 / 0.7581 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002186/0.5813, allocations: 12 kB / 0.7581 GB, free: 2.508 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 () * 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 (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.0001524/0.5814, allocations: 99.25 kB / 0.7582 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.5817, allocations: 111.9 kB / 0.7583 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.5817, allocations: 0 / 0.7583 GB, free: 2.293 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.5819, allocations: 63.91 kB / 0.7584 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.582, allocations: 0 / 0.7584 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.5825, allocations: 249.1 kB / 0.7586 GB, free: 1.961 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.5828, allocations: 0.7028 MB / 0.7593 GB, free: 1.234 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.102e-05/0.5829, allocations: 24.33 kB / 0.7593 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.583, allocations: 15.44 kB / 0.7594 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.583, allocations: 0 / 0.7594 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of Templates: time 0.002875/0.5858, allocations: 0.5949 MB / 0.7599 GB, free: 0.6016 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)