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.001311/0.001312, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001625/0.001625, allocations: 192.5 kB / 16.13 MB, free: 6.652 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.59/1.59, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4456/0.4456, allocations: 54.93 MB / 324.3 MB, free: 164 kB / 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.001522/0.001522, allocations: 63.91 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1473, allocations: 59.59 MB / 454.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.2298/0.3771, allocations: 1.62 MB / 455.9 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3783, allocations: 0.5308 MB / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.713e-05/0.3785, allocations: 0 / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.3787, allocations: 8.531 kB / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.3787, allocations: 14.98 kB / 456.4 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.379, allocations: 33.56 kB / 456.5 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3792, allocations: 73.16 kB / 456.5 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.3794, allocations: 48.5 kB / 456.6 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3795, allocations: 33.05 kB / 456.6 MB, free: 38.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.3796, allocations: 33.56 kB / 456.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.3797, allocations: 9.859 kB / 456.6 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.913e-05/0.3798, allocations: 8.312 kB / 456.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.3798, allocations: 22.41 kB / 456.7 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.3799, allocations: 37.62 kB / 456.7 MB, free: 38.6 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.3801, allocations: 84.45 kB / 456.8 MB, free: 38.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.3801, allocations: 4.469 kB / 456.8 MB, free: 38.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3801, allocations: 3.375 kB / 456.8 MB, free: 38.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3801, allocations: 0 / 456.8 MB, free: 38.58 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.0005897/0.3808, allocations: 400.3 kB / 457.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3808, allocations: 8.062 kB / 457.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.3809, allocations: 10.88 kB / 457.2 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.381, allocations: 201.6 kB / 457.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.381, allocations: 8.906 kB / 457.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.3811, allocations: 2.906 kB / 457.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.3813, allocations: 116.5 kB / 457.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3814, allocations: 4.969 kB / 457.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3814, allocations: 0 / 457.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.3814, allocations: 0.5 kB / 457.5 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.3816, allocations: 98.45 kB / 457.6 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.3822, allocations: 375 kB / 458 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3824, allocations: 62.5 kB / 458.1 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.3825, allocations: 46.16 kB / 458.1 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.3826, allocations: 4 kB / 458.1 MB, free: 37.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3826, allocations: 41.44 kB / 458.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.482e-06/0.3826, allocations: 0 / 458.2 MB, free: 37.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004474/0.3831, allocations: 167.1 kB / 458.3 MB, free: 37.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.3831, allocations: 56.66 kB / 458.4 MB, free: 37.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.3832, allocations: 129.1 kB / 458.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3833, allocations: 29.08 kB / 458.5 MB, free: 37.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.3833, allocations: 108.9 kB / 458.6 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3834, allocations: 21.69 kB / 458.7 MB, free: 37.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3834, allocations: 19.28 kB / 458.7 MB, free: 37.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.158e-05/0.3835, allocations: 322.5 kB / 459 MB, free: 36.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.781e-05/0.3836, allocations: 37.72 kB / 459 MB, free: 36.95 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.674e-05/0.3837, allocations: 41.33 kB / 459.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.3839, allocations: 95.7 kB / 459.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3839, allocations: 0 / 459.2 MB, free: 36.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002304/0.3841, allocations: 120.3 kB / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.3841, allocations: 5.75 kB / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3841, allocations: 3.281 kB / 459.3 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.3842, allocations: 6.812 kB / 459.3 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3843, allocations: 15.75 kB / 459.3 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.3843, allocations: 2.5 kB / 459.3 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.529e-05/0.3844, allocations: 12.92 kB / 459.3 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.3844, allocations: 4.375 kB / 459.3 MB, free: 36.9 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 6.64e-05/0.3845, allocations: 123 kB / 459.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.3845, allocations: 7.438 kB / 459.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.3848, allocations: 154.1 kB / 459.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3849, allocations: 0 / 459.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3849, allocations: 0 / 459.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3849, allocations: 0.5938 kB / 459.6 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.385, allocations: 208 kB / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.385, allocations: 2.281 kB / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.489e-05/0.3851, allocations: 21.05 kB / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3851, allocations: 2.5 kB / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3852, allocations: 7.438 kB / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3852, allocations: 0 / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3852, allocations: 0 / 459.8 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.3855, allocations: 225.7 kB / 460.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.3855, allocations: 83.95 kB / 460.1 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3855, allocations: 3.938 kB / 460.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.3856, allocations: 9.016 kB / 460.2 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.3857, allocations: 7.438 kB / 460.2 MB, free: 36.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.3857, allocations: 3.469 kB / 460.2 MB, free: 36.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.002e-05/0.3857, allocations: 106.7 kB / 460.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3857, allocations: 0 / 460.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.3861, allocations: 27.56 kB / 460.3 MB, free: 36.23 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 0.0001243/0.3862, allocations: 95.67 kB / 460.4 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3865, allocations: 101.7 kB / 460.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3865, allocations: 0 / 460.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3866, allocations: 51.23 kB / 460.5 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.3868, allocations: 14.34 kB / 460.6 MB, free: 36.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.3872, allocations: 243.7 kB / 460.8 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.3874, allocations: 0.6998 MB / 461.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.3875, allocations: 15.7 kB / 461.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.3876, allocations: 9.625 kB / 461.5 MB, free: 35.28 MB / 382.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3876, allocations: 0 / 461.5 MB, free: 35.28 MB / 382.1 MB Notification: Performance of Templates: time 0.00384/0.3914, allocations: 0.6285 MB / 462.1 MB, free: 35.24 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)