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.001171/0.001171, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001393/0.001393, allocations: 177.3 kB / 15.95 MB, free: 216 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.5/1.5, 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.4023/0.4023, allocations: 54.98 MB / 325.4 MB, free: 0.7383 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.0005774/0.0005775, allocations: 15.94 kB / 396.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3499, allocations: 60.72 MB / 457.3 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.001755/0.3517, allocations: 1.252 MB / 458.6 MB, free: 38.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.3525, allocations: 0.5043 MB / 459.1 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.3526, allocations: 2.719 kB / 459.1 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.3527, allocations: 10.84 kB / 459.1 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.137e-05/0.3528, allocations: 12.17 kB / 459.1 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.353, allocations: 34.22 kB / 459.1 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3531, allocations: 49.23 kB / 459.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3533, allocations: 29.41 kB / 459.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3534, allocations: 31.55 kB / 459.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.937e-05/0.3535, allocations: 30.39 kB / 459.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.3535, allocations: 3.625 kB / 459.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.3536, allocations: 9.469 kB / 459.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.3536, allocations: 16.73 kB / 459.3 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.3537, allocations: 38.98 kB / 459.3 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3538, allocations: 61.34 kB / 459.4 MB, free: 38.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.3538, allocations: 1.656 kB / 459.4 MB, free: 38.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3538, allocations: 0 / 459.4 MB, free: 38.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.3538, allocations: 0 / 459.4 MB, free: 38.74 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.0004885/0.3543, allocations: 390.2 kB / 459.8 MB, free: 38.37 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3544, allocations: 11.5 kB / 459.8 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.3544, allocations: 10.72 kB / 459.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.3546, allocations: 188.6 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.3546, allocations: 10.02 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.3546, allocations: 2.844 kB / 460 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.3549, allocations: 107.5 kB / 460.1 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3549, allocations: 0 / 460.1 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3549, allocations: 11.52 kB / 460.1 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.3549, allocations: 1.562 kB / 460.1 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.3552, allocations: 116 kB / 460.2 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005577/0.3557, allocations: 384.3 kB / 460.6 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3559, allocations: 68.98 kB / 460.7 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.3559, allocations: 7.578 kB / 460.7 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.356, allocations: 35.84 kB / 460.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.356, allocations: 3.469 kB / 460.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004459/0.3564, allocations: 184.8 kB / 460.9 MB, free: 37.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.3565, allocations: 55.34 kB / 460.9 MB, free: 37.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.3566, allocations: 132.5 kB / 461.1 MB, free: 37.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3566, allocations: 25.7 kB / 461.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.89e-05/0.3566, allocations: 108.9 kB / 461.2 MB, free: 37.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.3567, allocations: 26.39 kB / 461.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.651e-06/0.3567, allocations: 0.5625 kB / 461.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.492e-05/0.3567, allocations: 317.1 kB / 461.5 MB, free: 37.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.3568, allocations: 50.36 kB / 461.6 MB, free: 37.13 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.357, allocations: 41.67 kB / 461.6 MB, free: 37.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3571, allocations: 54.41 kB / 461.7 MB, free: 37.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3571, allocations: 0.7188 kB / 461.7 MB, free: 37.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002477/0.3574, allocations: 139.2 kB / 461.8 MB, free: 37.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3574, allocations: 2.938 kB / 461.8 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3574, allocations: 0 / 461.8 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.3574, allocations: 2.719 kB / 461.8 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.3575, allocations: 22.27 kB / 461.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.3576, allocations: 0.7812 kB / 461.8 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.024e-05/0.3576, allocations: 16.89 kB / 461.9 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.372e-05/0.3577, allocations: 5.75 kB / 461.9 MB, free: 37.09 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.737e-05/0.3578, allocations: 123.2 kB / 462 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.3578, allocations: 10.69 kB / 462 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.3581, allocations: 156.1 kB / 462.1 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-06/0.3581, allocations: 0 / 462.1 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3582, allocations: 0 / 462.1 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3582, allocations: 8.281 kB / 462.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.3583, allocations: 201.7 kB / 462.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.3584, allocations: 7.953 kB / 462.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.3585, allocations: 20.45 kB / 462.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3585, allocations: 3 kB / 462.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.3585, allocations: 3.375 kB / 462.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3585, allocations: 2.844 kB / 462.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.3585, allocations: 0.9375 kB / 462.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.3588, allocations: 230.8 kB / 462.6 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.3589, allocations: 95.14 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.3589, allocations: 2.812 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.95e-05/0.359, allocations: 14.3 kB / 462.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.3591, allocations: 10 kB / 462.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3591, allocations: 6.422 kB / 462.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.867e-05/0.3591, allocations: 103.4 kB / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3591, allocations: 0 / 462.8 MB, free: 36.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.3594, allocations: 19.44 kB / 462.9 MB, free: 36.4 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.0001277/0.3595, allocations: 102.9 kB / 463 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3598, allocations: 109.3 kB / 463.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3598, allocations: 0 / 463.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.3599, allocations: 62.72 kB / 463.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.3601, allocations: 7.188 kB / 463.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3605, allocations: 237.8 kB / 463.4 MB, free: 36.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.3607, allocations: 0.7084 MB / 464.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.998e-05/0.3608, allocations: 15.47 kB / 464.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.3608, allocations: 10.5 kB / 464.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3608, allocations: 0 / 464.1 MB, free: 35.45 MB / 382.1 MB Notification: Performance of Templates: time 0.002814/0.3637, allocations: 0.5956 MB / 464.7 MB, free: 35.42 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: