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.001004/0.001004, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7385/0.7385, allocations: 130.5 MB / 143.8 MB, free: 13.58 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.3 MB / 396.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008907/0.0008909, allocations: 103.5 kB / 479 MB, free: 10.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.495e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1626, allocations: 81.58 MB / 0.6348 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5835/0.7461, allocations: 111.8 MB / 0.7439 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.7464, allocations: 76.11 kB / 0.744 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005173/0.7516, allocations: 1.746 MB / 0.7457 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7516, allocations: 0 / 0.7457 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.7516, allocations: 0 / 0.7457 GB, free: 27.9 MB / 0.5105 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.0003878/0.752, allocations: 393.8 kB / 0.746 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.7521, allocations: 11.59 kB / 0.7461 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.7521, allocations: 11.61 kB / 0.7461 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.7523, allocations: 198.2 kB / 0.7463 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.7524, allocations: 0 / 0.7463 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.7524, allocations: 11.62 kB / 0.7463 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.7526, allocations: 87.19 kB / 0.7464 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.7526, allocations: 0.875 kB / 0.7464 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.7526, allocations: 3.812 kB / 0.7464 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.7526, allocations: 4 kB / 0.7464 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.7527, allocations: 65.17 kB / 0.7464 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005556/0.7533, allocations: 389.2 kB / 0.7468 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.867e-05/0.7534, allocations: 45.61 kB / 0.7468 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.7534, allocations: 36.55 kB / 0.7469 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.7535, allocations: 9.109 kB / 0.7469 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.7535, allocations: 30.56 kB / 0.7469 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.7535, allocations: 0 / 0.7469 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002168/0.7538, allocations: 98.69 kB / 0.747 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.7538, allocations: 55.41 kB / 0.7471 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.764e-05/0.7539, allocations: 121.9 kB / 0.7472 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.7539, allocations: 25.7 kB / 0.7472 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.754, allocations: 103.8 kB / 0.7473 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.754, allocations: 25.52 kB / 0.7473 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.754, allocations: 3.938 kB / 0.7473 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7541, allocations: 323.4 kB / 0.7476 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.037e-05/0.7542, allocations: 24.7 kB / 0.7477 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.7542, allocations: 27.94 kB / 0.7477 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.7543, allocations: 27.94 kB / 0.7477 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7543, allocations: 0 / 0.7477 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001353/0.7544, allocations: 95.67 kB / 0.7478 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7544, allocations: 11.67 kB / 0.7478 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.7545, allocations: 7.922 kB / 0.7478 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7545, allocations: 0 / 0.7478 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7546, allocations: 21.36 kB / 0.7478 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.7546, allocations: 0 / 0.7478 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-05/0.7547, allocations: 18.7 kB / 0.7479 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.7547, allocations: 3.906 kB / 0.7479 GB, free: 26.2 MB / 0.5105 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.902e-05/0.7548, allocations: 115.9 kB / 0.748 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.7549, allocations: 10.86 kB / 0.748 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.7551, allocations: 112.5 kB / 0.7481 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.7551, allocations: 0 / 0.7481 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.7551, allocations: 3.969 kB / 0.7481 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7551, allocations: 0 / 0.7481 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.7553, allocations: 210.6 kB / 0.7483 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.7553, allocations: 0 / 0.7483 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.7554, allocations: 21.2 kB / 0.7483 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7554, allocations: 4.25 kB / 0.7483 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.7555, allocations: 6.953 kB / 0.7483 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.7555, allocations: 7.953 kB / 0.7483 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7555, allocations: 0 / 0.7483 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001843/0.7557, allocations: 191.2 kB / 0.7485 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.7557, allocations: 84.3 kB / 0.7486 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.7557, allocations: 7.25 kB / 0.7486 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.638e-05/0.7558, allocations: 7.438 kB / 0.7486 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.7559, allocations: 10.84 kB / 0.7486 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.7559, allocations: 6.984 kB / 0.7486 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.677e-05/0.756, allocations: 97.94 kB / 0.7487 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.756, allocations: 0 / 0.7487 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002121/0.7562, allocations: 30.44 kB / 0.7487 GB, free: 25.52 MB / 0.5105 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.0001728/0.7564, allocations: 100.7 kB / 0.7488 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.7566, allocations: 74.48 kB / 0.7489 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7566, allocations: 0 / 0.7489 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/0.7566, allocations: 36.55 kB / 0.7489 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.7568, allocations: 3.375 kB / 0.749 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.7571, allocations: 141.2 kB / 0.7491 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.7574, allocations: 0.7055 MB / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.394e-05/0.7575, allocations: 12.89 kB / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.7576, allocations: 13.52 kB / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of SimCode: time 5.01e-07/0.7576, allocations: 0 / 0.7498 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.002667/0.7602, allocations: 0.6029 MB / 0.7504 GB, free: 24.57 MB / 0.5105 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)