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.001122/0.001122, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4197/0.4197, allocations: 55.02 MB / 325.4 MB, free: 0.7227 MB / 254.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.0005772/0.0005773, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4439, allocations: 60.72 MB / 457.4 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.00166/0.4456, allocations: 1.267 MB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.4463, allocations: 0.4986 MB / 459.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.433e-05/0.4464, allocations: 3.594 kB / 459.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.4465, allocations: 11.25 kB / 459.1 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.4466, allocations: 14.69 kB / 459.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.4468, allocations: 21.17 kB / 459.2 MB, free: 38.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.4469, allocations: 77.94 kB / 459.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.4471, allocations: 32.92 kB / 459.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.4472, allocations: 31.61 kB / 459.3 MB, free: 38.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.4473, allocations: 32.72 kB / 459.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.4473, allocations: 0 / 459.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.451e-05/0.4474, allocations: 8.141 kB / 459.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.4474, allocations: 14.83 kB / 459.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.4474, allocations: 38.42 kB / 459.4 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.771e-05/0.4475, allocations: 62.16 kB / 459.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4475, allocations: 2.719 kB / 459.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4476, allocations: 0.625 kB / 459.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.4476, allocations: 1.312 kB / 459.5 MB, free: 38.23 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.0004285/0.448, allocations: 389 kB / 459.9 MB, free: 37.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.448, allocations: 9.156 kB / 459.9 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.4481, allocations: 14.38 kB / 459.9 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.4482, allocations: 190.1 kB / 460.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4483, allocations: 7.875 kB / 460.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.4483, allocations: 5.219 kB / 460.1 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.4485, allocations: 116.8 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4485, allocations: 3.938 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4486, allocations: 3.625 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4486, allocations: 2.719 kB / 460.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.4488, allocations: 113.5 kB / 460.3 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.4493, allocations: 389.2 kB / 460.7 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.4494, allocations: 66.59 kB / 460.8 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.4496, allocations: 56.36 kB / 460.8 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.4496, allocations: 6.125 kB / 460.8 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4496, allocations: 34.25 kB / 460.9 MB, free: 37.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.4496, allocations: 1.438 kB / 460.9 MB, free: 37.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004344/0.4501, allocations: 179.9 kB / 461 MB, free: 37.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.4501, allocations: 55.34 kB / 461.1 MB, free: 37.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.4502, allocations: 131.4 kB / 461.2 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4502, allocations: 28.27 kB / 461.2 MB, free: 37.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/0.4503, allocations: 108.9 kB / 461.3 MB, free: 36.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.4503, allocations: 29.53 kB / 461.4 MB, free: 36.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.4503, allocations: 0 / 461.4 MB, free: 36.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.772e-05/0.4504, allocations: 321.9 kB / 461.7 MB, free: 36.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.977e-05/0.4505, allocations: 44.52 kB / 461.7 MB, free: 36.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.819e-05/0.4506, allocations: 48.62 kB / 461.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.4507, allocations: 48.95 kB / 461.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4507, allocations: 2.938 kB / 461.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002318/0.451, allocations: 134.2 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.451, allocations: 3.5 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.451, allocations: 1.25 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.451, allocations: 0.5625 kB / 462 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.4512, allocations: 31 kB / 462 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4512, allocations: 0 / 462 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.4513, allocations: 15.62 kB / 462 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.4513, allocations: 3.031 kB / 462 MB, free: 36.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.437e-05/0.4514, allocations: 122.2 kB / 462.1 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.4514, allocations: 12.97 kB / 462.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4517, allocations: 152.9 kB / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4517, allocations: 0 / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4517, allocations: 2.719 kB / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4518, allocations: 0 / 462.3 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.4519, allocations: 213.8 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4519, allocations: 2.375 kB / 462.5 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.328e-05/0.452, allocations: 21.34 kB / 462.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.452, allocations: 2.719 kB / 462.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.4521, allocations: 3.375 kB / 462.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4521, allocations: 0.9375 kB / 462.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4521, allocations: 0 / 462.5 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.4523, allocations: 234.5 kB / 462.8 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.4524, allocations: 87.94 kB / 462.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.4524, allocations: 4.188 kB / 462.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.049e-05/0.4525, allocations: 11.95 kB / 462.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.4526, allocations: 10.08 kB / 462.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.4526, allocations: 6.906 kB / 462.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.051e-05/0.4526, allocations: 103.5 kB / 463 MB, free: 35.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4526, allocations: 0 / 463 MB, free: 35.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002325/0.4529, allocations: 26.06 kB / 463 MB, free: 35.86 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 (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.0001299/0.453, allocations: 95.42 kB / 463.1 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002545/0.4533, allocations: 112.1 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4533, allocations: 3.094 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.4534, allocations: 59.88 kB / 463.3 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.4536, allocations: 7.578 kB / 463.3 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.454, allocations: 239.3 kB / 463.5 MB, free: 35.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.4542, allocations: 0.7074 MB / 464.2 MB, free: 34.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.4543, allocations: 13.2 kB / 464.2 MB, free: 34.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.4543, allocations: 18.06 kB / 464.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4543, allocations: 0 / 464.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of Templates: time 0.002995/0.4573, allocations: 0.6029 MB / 464.9 MB, free: 34.88 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: