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.001581/0.001581, allocations: 104.1 kB / 16.27 MB, free: 5.898 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.001904/0.001904, allocations: 185.1 kB / 17.19 MB, free: 5.539 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.803/0.803, allocations: 132.2 MB / 423.2 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.362, allocations: 80.19 MB / 0.5807 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002456/0.3645, allocations: 1.593 MB / 0.5823 GB, free: 26.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007504/0.3653, allocations: 0.5112 MB / 0.5828 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.3654, allocations: 2.125 kB / 0.5828 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.3655, allocations: 8.938 kB / 0.5828 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.3655, allocations: 17.8 kB / 0.5828 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.3658, allocations: 37.92 kB / 0.5829 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.741e-05/0.3659, allocations: 86.05 kB / 0.5829 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.366, allocations: 40.86 kB / 0.583 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.3661, allocations: 35.17 kB / 0.583 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.3662, allocations: 43.84 kB / 0.583 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.3662, allocations: 6.594 kB / 0.5831 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.3663, allocations: 14.2 kB / 0.5831 GB, free: 25.49 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.838e-05/0.3664, allocations: 26.28 kB / 0.5831 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.3664, allocations: 37.39 kB / 0.5831 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.3665, allocations: 89.2 kB / 0.5832 GB, free: 25.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3666, allocations: 0.7812 kB / 0.5832 GB, free: 25.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3666, allocations: 0 / 0.5832 GB, free: 25.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3666, allocations: 2.938 kB / 0.5832 GB, free: 25.38 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.0004529/0.367, allocations: 399.3 kB / 0.5836 GB, free: 24.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.3671, allocations: 10.66 kB / 0.5836 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3671, allocations: 10.19 kB / 0.5836 GB, free: 24.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3673, allocations: 194.7 kB / 0.5838 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3673, allocations: 7.344 kB / 0.5838 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3673, allocations: 8.906 kB / 0.5838 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002472/0.3676, allocations: 108.7 kB / 0.5839 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3676, allocations: 0 / 0.5839 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.3676, allocations: 5.156 kB / 0.5839 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.3676, allocations: 2.844 kB / 0.5839 GB, free: 24.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.3679, allocations: 94.59 kB / 0.584 GB, free: 24.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.3684, allocations: 384.5 kB / 0.5844 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3685, allocations: 59.11 kB / 0.5844 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3687, allocations: 48.08 kB / 0.5845 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.939e-05/0.3687, allocations: 2.594 kB / 0.5845 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3687, allocations: 40.44 kB / 0.5845 GB, free: 24.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.3687, allocations: 0.5625 kB / 0.5845 GB, free: 24.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.00046/0.3692, allocations: 166.8 kB / 0.5847 GB, free: 24.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.3692, allocations: 52.78 kB / 0.5847 GB, free: 24.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.3693, allocations: 137.1 kB / 0.5849 GB, free: 23.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.3693, allocations: 26.73 kB / 0.5849 GB, free: 23.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.3694, allocations: 104.9 kB / 0.585 GB, free: 23.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3694, allocations: 22.97 kB / 0.585 GB, free: 23.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.3695, allocations: 23.05 kB / 0.585 GB, free: 23.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.3695, allocations: 326.5 kB / 0.5854 GB, free: 23.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.3696, allocations: 36.78 kB / 0.5854 GB, free: 23.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.3697, allocations: 49.19 kB / 0.5854 GB, free: 23.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.3699, allocations: 85.66 kB / 0.5855 GB, free: 23.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.37, allocations: 2.625 kB / 0.5855 GB, free: 23.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002591/0.3702, allocations: 128.7 kB / 0.5856 GB, free: 23.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3702, allocations: 7.375 kB / 0.5856 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3702, allocations: 1.094 kB / 0.5856 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3703, allocations: 0 / 0.5856 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3704, allocations: 20.7 kB / 0.5857 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3704, allocations: 1.219 kB / 0.5857 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.367e-05/0.3705, allocations: 10.36 kB / 0.5857 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3705, allocations: 2.531 kB / 0.5857 GB, free: 23.22 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.686e-05/0.3706, allocations: 123.7 kB / 0.5858 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.3706, allocations: 12.72 kB / 0.5858 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.371, allocations: 137.9 kB / 0.5859 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.371, allocations: 7 kB / 0.5859 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.371, allocations: 1.281 kB / 0.586 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.371, allocations: 0 / 0.586 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.3712, allocations: 206.2 kB / 0.5861 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3712, allocations: 256 / 0.5861 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3713, allocations: 25.97 kB / 0.5862 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3713, allocations: 4 kB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3713, allocations: 1.406 kB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3713, allocations: 8.375 kB / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3713, allocations: 0 / 0.5862 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.3716, allocations: 220.6 kB / 0.5864 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3717, allocations: 83.42 kB / 0.5865 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3717, allocations: 9.328 kB / 0.5865 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3718, allocations: 8.5 kB / 0.5865 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.3718, allocations: 7.484 kB / 0.5865 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3719, allocations: 3.25 kB / 0.5865 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.412e-05/0.3719, allocations: 102.3 kB / 0.5866 GB, free: 22.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3719, allocations: 0 / 0.5866 GB, free: 22.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.3722, allocations: 24.92 kB / 0.5866 GB, free: 22.36 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.0001119/0.3723, allocations: 105.8 kB / 0.5867 GB, free: 22.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002948/0.3726, allocations: 95.28 kB / 0.5868 GB, free: 22.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3726, allocations: 3.938 kB / 0.5868 GB, free: 22.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.3727, allocations: 62.67 kB / 0.5869 GB, free: 22.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.373, allocations: 7.781 kB / 0.5869 GB, free: 22.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004065/0.3734, allocations: 237 kB / 0.5871 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.3735, allocations: 0.701 MB / 0.5878 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.3736, allocations: 20.73 kB / 0.5878 GB, free: 21.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3736, allocations: 0 / 0.5878 GB, free: 21.29 MB / 446.1 MB Notification: Performance of Templates: time 0.0025/0.3761, allocations: 1.12 MB / 0.5889 GB, free: 20.76 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)