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.001095/0.001095, allocations: 114.5 kB / 16.37 MB, free: 6.012 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.001167/0.001167, allocations: 193.4 kB / 17.31 MB, free: 5.613 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7637/0.7637, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.89 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.328, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002454/0.3305, allocations: 1.582 MB / 0.5873 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006707/0.3312, allocations: 0.5123 MB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.954e-05/0.3313, allocations: 5.375 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.947e-05/0.3314, allocations: 4.438 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.211e-05/0.3314, allocations: 18.23 kB / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.3317, allocations: 44.31 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000119/0.3318, allocations: 87.03 kB / 0.588 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.332, allocations: 36.16 kB / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.115e-05/0.3321, allocations: 42.86 kB / 0.588 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.34e-05/0.3322, allocations: 40.81 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3322, allocations: 6.625 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.3323, allocations: 9.562 kB / 0.5881 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.355e-05/0.3323, allocations: 21.55 kB / 0.5881 GB, free: 23.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.3324, allocations: 42.27 kB / 0.5882 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3325, allocations: 94.23 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3326, allocations: 1.438 kB / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3326, allocations: 0 / 0.5882 GB, free: 23.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3326, allocations: 1.344 kB / 0.5882 GB, free: 23.66 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.0004918/0.3331, allocations: 411.6 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3331, allocations: 10.27 kB / 0.5887 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.238e-05/0.3332, allocations: 10.06 kB / 0.5887 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.3333, allocations: 197.4 kB / 0.5888 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.3333, allocations: 3.5 kB / 0.5889 GB, free: 23.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3334, allocations: 9.031 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.3336, allocations: 111.1 kB / 0.589 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3336, allocations: 0 / 0.589 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.3337, allocations: 4.531 kB / 0.589 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3337, allocations: 3.062 kB / 0.589 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.3339, allocations: 99.67 kB / 0.5891 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.3344, allocations: 373.2 kB / 0.5894 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.3345, allocations: 61.55 kB / 0.5895 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3347, allocations: 45.23 kB / 0.5895 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.3347, allocations: 12.75 kB / 0.5895 GB, free: 22.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3347, allocations: 34.56 kB / 0.5896 GB, free: 22.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.3347, allocations: 1.156 kB / 0.5896 GB, free: 22.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004009/0.3351, allocations: 168.4 kB / 0.5897 GB, free: 22.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.3352, allocations: 51.41 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.3352, allocations: 130.4 kB / 0.5899 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.3353, allocations: 30.8 kB / 0.5899 GB, free: 22.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.3353, allocations: 104.1 kB / 0.59 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3353, allocations: 29.3 kB / 0.5901 GB, free: 21.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.3354, allocations: 17.72 kB / 0.5901 GB, free: 21.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.368e-05/0.3354, allocations: 322.8 kB / 0.5904 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.993e-05/0.3355, allocations: 40.81 kB / 0.5904 GB, free: 21.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.038e-05/0.3356, allocations: 39.41 kB / 0.5905 GB, free: 21.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3358, allocations: 88.8 kB / 0.5905 GB, free: 21.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3358, allocations: 3.938 kB / 0.5906 GB, free: 21.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002055/0.336, allocations: 125.9 kB / 0.5907 GB, free: 21.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.336, allocations: 11.03 kB / 0.5907 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.336, allocations: 0 / 0.5907 GB, free: 21.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3361, allocations: 4.484 kB / 0.5907 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.3362, allocations: 24.55 kB / 0.5907 GB, free: 21.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3362, allocations: 4 kB / 0.5907 GB, free: 21.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.3363, allocations: 13.64 kB / 0.5907 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3363, allocations: 3.984 kB / 0.5907 GB, free: 21.24 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 5.432e-05/0.3364, allocations: 120.2 kB / 0.5908 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.3364, allocations: 7.906 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.3367, allocations: 147.8 kB / 0.591 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3367, allocations: 3.938 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3367, allocations: 0 / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3367, allocations: 5.281 kB / 0.591 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.3368, allocations: 197.6 kB / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3368, allocations: 0 / 0.5912 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.3369, allocations: 22.12 kB / 0.5912 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3369, allocations: 0 / 0.5912 GB, free: 20.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.337, allocations: 4 kB / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.337, allocations: 7.938 kB / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.337, allocations: 0 / 0.5912 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3372, allocations: 221.5 kB / 0.5914 GB, free: 20.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.944e-05/0.3372, allocations: 85.02 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.3372, allocations: 4 kB / 0.5915 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.177e-05/0.3373, allocations: 13.33 kB / 0.5915 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.3374, allocations: 4 kB / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3374, allocations: 4.859 kB / 0.5915 GB, free: 20.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.407e-05/0.3374, allocations: 103.3 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3375, allocations: 1.062 kB / 0.5916 GB, free: 20.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000221/0.3377, allocations: 19.84 kB / 0.5917 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.0001163/0.3378, allocations: 101.8 kB / 0.5918 GB, free: 20.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002353/0.338, allocations: 108 kB / 0.5919 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3381, allocations: 0 / 0.5919 GB, free: 19.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.731e-05/0.3382, allocations: 52.91 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.0002083/0.3384, allocations: 0 / 0.5919 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.3387, allocations: 216.5 kB / 0.5921 GB, free: 19.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.3389, allocations: 0.7024 MB / 0.5928 GB, free: 18.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.922e-05/0.339, allocations: 15.97 kB / 0.5928 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.339, allocations: 15.38 kB / 0.5928 GB, free: 18.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.339, allocations: 2.844 kB / 0.5928 GB, free: 18.94 MB / 446.1 MB Notification: Performance of Templates: time 0.002416/0.3414, allocations: 0.7128 MB / 0.5935 GB, free: 18.26 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)