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.001123/0.001123, allocations: 106.9 kB / 16.35 MB, free: 5.824 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.001143/0.001143, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8349/0.8349, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.00128, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3845, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.00244/0.387, allocations: 1.596 MB / 0.583 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006857/0.3877, allocations: 0.5115 MB / 0.5835 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.3878, allocations: 1.438 kB / 0.5835 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.655e-05/0.3879, allocations: 14.2 kB / 0.5836 GB, free: 25.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.174e-05/0.3879, allocations: 13.34 kB / 0.5836 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.3882, allocations: 41 kB / 0.5836 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3883, allocations: 84.98 kB / 0.5837 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.3885, allocations: 47.77 kB / 0.5837 GB, free: 25.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.813e-05/0.3885, allocations: 29.52 kB / 0.5838 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.3886, allocations: 38.78 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.3886, allocations: 9.375 kB / 0.5838 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.854e-05/0.3887, allocations: 17.45 kB / 0.5838 GB, free: 25.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.847e-05/0.3888, allocations: 25.5 kB / 0.5838 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.3888, allocations: 32.67 kB / 0.5839 GB, free: 25.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.3889, allocations: 90.19 kB / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3889, allocations: 1.438 kB / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3889, allocations: 3.938 kB / 0.584 GB, free: 25.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.389, allocations: 1.188 kB / 0.584 GB, free: 25.7 MB / 446.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.0004621/0.3894, allocations: 401.6 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3895, allocations: 8.875 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.3895, allocations: 14.72 kB / 0.5844 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.3896, allocations: 194.3 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.3897, allocations: 5.969 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.3897, allocations: 4.562 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.3899, allocations: 112.5 kB / 0.5847 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3899, allocations: 2.094 kB / 0.5847 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.39, allocations: 0 / 0.5847 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.39, allocations: 6.531 kB / 0.5847 GB, free: 24.99 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.3902, allocations: 101.8 kB / 0.5848 GB, free: 24.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005557/0.3908, allocations: 382.8 kB / 0.5851 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3909, allocations: 56.02 kB / 0.5852 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.391, allocations: 51.33 kB / 0.5852 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.434e-05/0.3911, allocations: 2.438 kB / 0.5853 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.3911, allocations: 33 kB / 0.5853 GB, free: 24.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3911, allocations: 0 / 0.5853 GB, free: 24.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004607/0.3916, allocations: 170.2 kB / 0.5854 GB, free: 24.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.3916, allocations: 52.66 kB / 0.5855 GB, free: 24.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.744e-05/0.3917, allocations: 136.3 kB / 0.5856 GB, free: 24.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.3917, allocations: 27.98 kB / 0.5857 GB, free: 24.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.3918, allocations: 108.6 kB / 0.5858 GB, free: 24.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.3918, allocations: 22.09 kB / 0.5858 GB, free: 24.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.381e-05/0.3919, allocations: 22.42 kB / 0.5858 GB, free: 24.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.3919, allocations: 321.9 kB / 0.5861 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.392, allocations: 39.56 kB / 0.5861 GB, free: 23.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.3922, allocations: 39.03 kB / 0.5862 GB, free: 23.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/0.3924, allocations: 90.5 kB / 0.5863 GB, free: 23.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3924, allocations: 1.062 kB / 0.5863 GB, free: 23.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002876/0.3927, allocations: 130.3 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.3927, allocations: 5.219 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3927, allocations: 1.062 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.3927, allocations: 1.5 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.3929, allocations: 23.61 kB / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.3929, allocations: 0 / 0.5864 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.393, allocations: 13.52 kB / 0.5864 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.3931, allocations: 2.781 kB / 0.5864 GB, free: 23.54 MB / 446.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 0.0001002/0.3932, allocations: 119.6 kB / 0.5866 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.3932, allocations: 7.75 kB / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.3936, allocations: 146.7 kB / 0.5867 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3936, allocations: 5.031 kB / 0.5867 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3936, allocations: 0 / 0.5867 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3936, allocations: 0 / 0.5867 GB, free: 23.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.3938, allocations: 207 kB / 0.5869 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3938, allocations: 1.344 kB / 0.5869 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3939, allocations: 17.45 kB / 0.5869 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.394, allocations: 0 / 0.5869 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.394, allocations: 5.594 kB / 0.5869 GB, free: 23.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.394, allocations: 4.938 kB / 0.5869 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.394, allocations: 1.438 kB / 0.5869 GB, free: 23.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3943, allocations: 232.4 kB / 0.5872 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.3944, allocations: 87.19 kB / 0.5872 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.3944, allocations: 5.359 kB / 0.5872 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3945, allocations: 9.125 kB / 0.5872 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.3946, allocations: 10.55 kB / 0.5873 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.3946, allocations: 2.25 kB / 0.5873 GB, free: 22.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.092e-05/0.3947, allocations: 104.6 kB / 0.5874 GB, free: 22.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3947, allocations: 1.562 kB / 0.5874 GB, free: 22.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.3949, allocations: 25.14 kB / 0.5874 GB, free: 22.68 MB / 446.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.0001428/0.3951, allocations: 97.44 kB / 0.5875 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.3954, allocations: 100.5 kB / 0.5876 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3954, allocations: 2.906 kB / 0.5876 GB, free: 22.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3955, allocations: 52.27 kB / 0.5876 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.3957, allocations: 12.95 kB / 0.5876 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.3961, allocations: 206.4 kB / 0.5878 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.3963, allocations: 0.7022 MB / 0.5885 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.333e-05/0.3964, allocations: 12.52 kB / 0.5885 GB, free: 21.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.3964, allocations: 18.83 kB / 0.5886 GB, free: 21.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3964, allocations: 0.5625 kB / 0.5886 GB, free: 21.64 MB / 446.1 MB Notification: Performance of Templates: time 0.003009/0.3994, allocations: 0.7091 MB / 0.5892 GB, free: 21.31 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)