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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7366/0.7366, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.12 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4586, allocations: 80.2 MB / 0.5801 GB, free: 4.801 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003153/0.4618, allocations: 1.581 MB / 0.5816 GB, free: 3.691 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.4628, allocations: 0.5213 MB / 0.5821 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.4629, allocations: 1 kB / 0.5821 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.463, allocations: 9.938 kB / 0.5821 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.463, allocations: 15.77 kB / 0.5822 GB, free: 3.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.4633, allocations: 37.92 kB / 0.5822 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.4634, allocations: 80.36 kB / 0.5823 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.4636, allocations: 37.38 kB / 0.5823 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.4637, allocations: 45.91 kB / 0.5824 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.915e-05/0.4638, allocations: 42.92 kB / 0.5824 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.4638, allocations: 6.219 kB / 0.5824 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.595e-05/0.4639, allocations: 15.41 kB / 0.5824 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.4639, allocations: 17.45 kB / 0.5824 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.327e-05/0.4639, allocations: 40.98 kB / 0.5825 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.4641, allocations: 85.3 kB / 0.5826 GB, free: 3.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4641, allocations: 1.406 kB / 0.5826 GB, free: 3.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4641, allocations: 0 / 0.5826 GB, free: 3.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.4641, allocations: 0 / 0.5826 GB, free: 3.109 MB / 430.1 MB 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.0004678/0.4646, allocations: 410.8 kB / 0.5829 GB, free: 2.707 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4647, allocations: 9.156 kB / 0.583 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.4e-05/0.4647, allocations: 11.36 kB / 0.583 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.4649, allocations: 192.7 kB / 0.5832 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4649, allocations: 15.42 kB / 0.5832 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.4649, allocations: 4.312 kB / 0.5832 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.4652, allocations: 110.1 kB / 0.5833 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4652, allocations: 0 / 0.5833 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.4652, allocations: 1.375 kB / 0.5833 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.4652, allocations: 5.75 kB / 0.5833 GB, free: 2.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.4655, allocations: 100.4 kB / 0.5834 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.4661, allocations: 382 kB / 0.5837 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.4663, allocations: 55.28 kB / 0.5838 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.4664, allocations: 49.48 kB / 0.5838 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.4665, allocations: 3.938 kB / 0.5838 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.4665, allocations: 36.16 kB / 0.5839 GB, free: 1.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4665, allocations: 4 kB / 0.5839 GB, free: 1.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004918/0.467, allocations: 161.5 kB / 0.584 GB, free: 1.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.467, allocations: 52.89 kB / 0.5841 GB, free: 1.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.571e-05/0.4671, allocations: 138.2 kB / 0.5842 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.4671, allocations: 26.27 kB / 0.5842 GB, free: 1.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.4672, allocations: 108.6 kB / 0.5843 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.4672, allocations: 24.39 kB / 0.5844 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-05/0.4673, allocations: 25.25 kB / 0.5844 GB, free: 1.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.4673, allocations: 319.1 kB / 0.5847 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.4674, allocations: 38.67 kB / 0.5847 GB, free: 1.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.4675, allocations: 46.62 kB / 0.5848 GB, free: 1.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4678, allocations: 95.97 kB / 0.5849 GB, free: 1.195 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4678, allocations: 0 / 0.5849 GB, free: 1.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002573/0.468, allocations: 124.3 kB / 0.585 GB, free: 1.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4681, allocations: 5.5 kB / 0.585 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.4681, allocations: 0 / 0.585 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4681, allocations: 0.75 kB / 0.585 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.4682, allocations: 21.22 kB / 0.585 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4682, allocations: 6.109 kB / 0.585 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.4683, allocations: 15.34 kB / 0.585 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.4684, allocations: 3.359 kB / 0.585 GB, free: 1.125 MB / 430.1 MB 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 6.31e-05/0.4684, allocations: 122.2 kB / 0.5852 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.4685, allocations: 7.438 kB / 0.5852 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.4688, allocations: 140.8 kB / 0.5853 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.4688, allocations: 5.438 kB / 0.5853 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4688, allocations: 4.797 kB / 0.5853 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4688, allocations: 1.031 kB / 0.5853 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.469, allocations: 199.1 kB / 0.5855 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.469, allocations: 0.8125 kB / 0.5855 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4691, allocations: 18.66 kB / 0.5855 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4691, allocations: 0 / 0.5855 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.4692, allocations: 6.469 kB / 0.5855 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4692, allocations: 8.469 kB / 0.5855 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4692, allocations: 1.125 kB / 0.5855 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.4695, allocations: 224.2 kB / 0.5857 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.4695, allocations: 83.95 kB / 0.5858 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.4695, allocations: 1.234 kB / 0.5858 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.4696, allocations: 11.09 kB / 0.5858 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.909e-05/0.4697, allocations: 10.23 kB / 0.5858 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4697, allocations: 3.141 kB / 0.5859 GB, free: 452 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.707e-05/0.4698, allocations: 104 kB / 0.586 GB, free: 368 kB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4698, allocations: 0 / 0.586 GB, free: 368 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.47, allocations: 25.94 kB / 0.586 GB, free: 356 kB / 430.1 MB 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.0001297/0.4701, allocations: 104.3 kB / 0.5861 GB, free: 260 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.4704, allocations: 101 kB / 0.5862 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4705, allocations: 3.938 kB / 0.5862 GB, free: 236 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4706, allocations: 56.77 kB / 0.5862 GB, free: 220 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.4708, allocations: 6.312 kB / 0.5862 GB, free: 216 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.4713, allocations: 217.7 kB / 0.5864 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.4716, allocations: 0.7002 MB / 0.5871 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.4717, allocations: 18.12 kB / 0.5871 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.084e-05/0.4718, allocations: 16.25 kB / 0.5872 GB, free: 15.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4718, allocations: 0 / 0.5872 GB, free: 15.34 MB / 446.1 MB Notification: Performance of Templates: time 0.003353/0.4752, allocations: 0.71 MB / 0.5879 GB, free: 15.26 MB / 446.1 MB 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)