Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions") translateModel(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001421/0.001421, allocations: 108 kB / 15.61 MB, free: 148 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.001347/0.001347, allocations: 194.2 kB / 16.53 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.663/1.663, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4118/0.4118, allocations: 54.95 MB / 324.7 MB, free: 15.93 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.84 kB / 395.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1532, allocations: 59.59 MB / 454.9 MB, free: 184 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.2294/0.3827, allocations: 1.565 MB / 456.5 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007609/0.3835, allocations: 0.5332 MB / 457 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.3835, allocations: 2.062 kB / 457 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.3837, allocations: 13.86 kB / 457 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.3837, allocations: 13.42 kB / 457 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.384, allocations: 37.16 kB / 457.1 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3841, allocations: 84.47 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.3843, allocations: 43.88 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.3844, allocations: 31.69 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.557e-05/0.3844, allocations: 39.27 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.3845, allocations: 7.5 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.3845, allocations: 21.05 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.3846, allocations: 23.2 kB / 457.3 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.3846, allocations: 42.05 kB / 457.4 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.3847, allocations: 85.61 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3848, allocations: 0 / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3848, allocations: 0.875 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.016e-06/0.3848, allocations: 0 / 457.4 MB, free: 38.78 MB / 382.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.0004819/0.3853, allocations: 401.3 kB / 457.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3853, allocations: 10.75 kB / 457.8 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.3854, allocations: 10.34 kB / 457.9 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.3855, allocations: 200.8 kB / 458.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3856, allocations: 384 / 458.1 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3856, allocations: 13.62 kB / 458.1 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3859, allocations: 112.2 kB / 458.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3859, allocations: 3.531 kB / 458.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3859, allocations: 0 / 458.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3859, allocations: 3.844 kB / 458.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.3862, allocations: 95.2 kB / 458.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.3867, allocations: 379.4 kB / 458.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3869, allocations: 55.88 kB / 458.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.387, allocations: 50 kB / 458.8 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.417e-05/0.3871, allocations: 9.469 kB / 458.8 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.3871, allocations: 32.75 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.104e-06/0.3871, allocations: 1.219 kB / 458.8 MB, free: 37.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004803/0.3876, allocations: 168.5 kB / 459 MB, free: 37.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.3876, allocations: 55.69 kB / 459 MB, free: 37.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.3877, allocations: 129.2 kB / 459.1 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3878, allocations: 29.64 kB / 459.2 MB, free: 37.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.3878, allocations: 106 kB / 459.3 MB, free: 37.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.3878, allocations: 22.22 kB / 459.3 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3879, allocations: 23.73 kB / 459.3 MB, free: 37.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.421e-05/0.388, allocations: 319.1 kB / 459.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3881, allocations: 40.58 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.3882, allocations: 40.86 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.3884, allocations: 90.69 kB / 459.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3884, allocations: 0 / 459.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002264/0.3886, allocations: 129.8 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3886, allocations: 9.125 kB / 459.9 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3886, allocations: 3.938 kB / 459.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3887, allocations: 1.406 kB / 459.9 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3888, allocations: 17.97 kB / 460 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3888, allocations: 3.875 kB / 460 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.453e-05/0.3889, allocations: 8.078 kB / 460 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3889, allocations: 7.406 kB / 460 MB, free: 37.1 MB / 382.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 5.913e-05/0.389, allocations: 122 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.389, allocations: 10.75 kB / 460.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.3893, allocations: 146.6 kB / 460.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3893, allocations: 0 / 460.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3893, allocations: 6.422 kB / 460.3 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3894, allocations: 1.969 kB / 460.3 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.3895, allocations: 200.2 kB / 460.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3895, allocations: 3.281 kB / 460.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.3896, allocations: 23.22 kB / 460.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3896, allocations: 0 / 460.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.3896, allocations: 3.938 kB / 460.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3896, allocations: 3.938 kB / 460.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3896, allocations: 1.219 kB / 460.5 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.3899, allocations: 226.6 kB / 460.7 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.3899, allocations: 81.02 kB / 460.8 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.39, allocations: 11.53 kB / 460.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.39, allocations: 6.406 kB / 460.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.3901, allocations: 8.219 kB / 460.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.3901, allocations: 3.188 kB / 460.8 MB, free: 36.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.93e-05/0.3902, allocations: 107.9 kB / 460.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3902, allocations: 0 / 460.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002223/0.3904, allocations: 19.81 kB / 460.9 MB, free: 36.43 MB / 382.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 9.705e-05/0.3905, allocations: 96.19 kB / 461 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3908, allocations: 110.6 kB / 461.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3908, allocations: 0 / 461.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.3909, allocations: 58 kB / 461.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.3911, allocations: 2.938 kB / 461.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.3915, allocations: 216.2 kB / 461.4 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.3916, allocations: 0.7024 MB / 462.1 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.3917, allocations: 13.05 kB / 462.1 MB, free: 35.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3918, allocations: 17.53 kB / 462.1 MB, free: 35.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3918, allocations: 4 kB / 462.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of Templates: time 0.002672/0.3945, allocations: 0.7071 MB / 462.9 MB, free: 35.46 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)