Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001073/0.001073, allocations: 104.4 kB / 16.35 MB, free: 5.875 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.001055/0.001055, allocations: 191 kB / 17.29 MB, free: 5.516 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.458/1.458, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8014/0.8014, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 59.89 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3718, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002363/0.3742, allocations: 1.582 MB / 0.5873 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007112/0.3749, allocations: 0.5073 MB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.375, allocations: 7.625 kB / 0.5878 GB, free: 23.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001/0.3751, allocations: 5.094 kB / 0.5878 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.157e-05/0.3751, allocations: 17.27 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.3754, allocations: 44.3 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3755, allocations: 81.11 kB / 0.5879 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3756, allocations: 38.75 kB / 0.588 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.821e-05/0.3757, allocations: 41.86 kB / 0.588 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.3758, allocations: 40.81 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.3758, allocations: 5.812 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-05/0.3759, allocations: 10.47 kB / 0.5881 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.706e-05/0.3759, allocations: 21.05 kB / 0.5881 GB, free: 23.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.376, allocations: 42.38 kB / 0.5881 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.3761, allocations: 93.97 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3761, allocations: 0.5625 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3761, allocations: 1.125 kB / 0.5882 GB, free: 23.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3761, allocations: 0 / 0.5882 GB, free: 23.68 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.0004456/0.3766, allocations: 406 kB / 0.5886 GB, free: 23.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3766, allocations: 10.33 kB / 0.5886 GB, free: 23.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3767, allocations: 10.72 kB / 0.5886 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3768, allocations: 194 kB / 0.5888 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.3768, allocations: 7.516 kB / 0.5888 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.3769, allocations: 10.66 kB / 0.5888 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002453/0.3771, allocations: 111.1 kB / 0.5889 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3771, allocations: 1.531 kB / 0.5889 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.3771, allocations: 4 kB / 0.589 GB, free: 22.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3771, allocations: 6.312 kB / 0.589 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.3774, allocations: 96.31 kB / 0.5891 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.3779, allocations: 375.9 kB / 0.5894 GB, free: 22.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3781, allocations: 69.28 kB / 0.5895 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3782, allocations: 46.73 kB / 0.5895 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.3782, allocations: 2.938 kB / 0.5895 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.3783, allocations: 35.75 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.3783, allocations: 2.219 kB / 0.5896 GB, free: 22.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003994/0.3787, allocations: 168.3 kB / 0.5897 GB, free: 22.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.3787, allocations: 55.39 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.689e-05/0.3788, allocations: 131.8 kB / 0.5899 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3788, allocations: 30.7 kB / 0.5899 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.3789, allocations: 100.1 kB / 0.59 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3789, allocations: 28.17 kB / 0.59 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3789, allocations: 18.97 kB / 0.5901 GB, free: 21.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.379, allocations: 322.8 kB / 0.5904 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.595e-05/0.3791, allocations: 41.25 kB / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.551e-05/0.3792, allocations: 37.06 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3794, allocations: 89.86 kB / 0.5905 GB, free: 21.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3794, allocations: 0 / 0.5905 GB, free: 21.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002139/0.3796, allocations: 135.1 kB / 0.5907 GB, free: 21.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.3796, allocations: 8 kB / 0.5907 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3796, allocations: 3.094 kB / 0.5907 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3796, allocations: 0 / 0.5907 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.3798, allocations: 19.92 kB / 0.5907 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3798, allocations: 0 / 0.5907 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.3798, allocations: 11.98 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3799, allocations: 0 / 0.5907 GB, free: 21.25 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 6.18e-05/0.3799, allocations: 120.3 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.38, allocations: 7.906 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.3803, allocations: 146.8 kB / 0.591 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.3803, allocations: 4.5 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3803, allocations: 0.5625 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3803, allocations: 0 / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3804, allocations: 202.3 kB / 0.5912 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3804, allocations: 0 / 0.5912 GB, free: 20.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-05/0.3805, allocations: 26.38 kB / 0.5912 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3806, allocations: 0 / 0.5912 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3806, allocations: 4 kB / 0.5912 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3806, allocations: 3.938 kB / 0.5912 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3806, allocations: 4 kB / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.3808, allocations: 222.1 kB / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.3809, allocations: 81.2 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.3809, allocations: 12 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.381, allocations: 13.27 kB / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.381, allocations: 11.92 kB / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3811, allocations: 0 / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.826e-05/0.3811, allocations: 107.2 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3811, allocations: 0 / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3814, allocations: 19.84 kB / 0.5916 GB, free: 20.2 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.0001289/0.3815, allocations: 104.8 kB / 0.5917 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.3817, allocations: 101.1 kB / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3818, allocations: 0 / 0.5918 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.3819, allocations: 52.94 kB / 0.5919 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.3821, allocations: 2.625 kB / 0.5919 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.3825, allocations: 220.3 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.3826, allocations: 0.7055 MB / 0.5928 GB, free: 18.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.3827, allocations: 17.47 kB / 0.5928 GB, free: 18.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.3828, allocations: 11.44 kB / 0.5928 GB, free: 18.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3828, allocations: 0 / 0.5928 GB, free: 18.94 MB / 446.1 MB Notification: Performance of Templates: time 0.002869/0.3857, allocations: 0.7086 MB / 0.5935 GB, free: 18.27 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)