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.0008397/0.0008397, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009358/0.0009359, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 223.3 MB / 240 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6572/0.6572, allocations: 132.4 MB / 423.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002827/0.0002828, allocations: 8 kB / 0.5034 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3291, allocations: 81.59 MB / 0.5831 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001228/0.3303, allocations: 1.286 MB / 0.5843 GB, free: 3.082 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005713/0.3309, allocations: 497.1 kB / 0.5848 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.331, allocations: 3.688 kB / 0.5848 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.182e-05/0.3311, allocations: 5.906 kB / 0.5848 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.3311, allocations: 11.52 kB / 0.5848 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3312, allocations: 30.34 kB / 0.5849 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.844e-05/0.3313, allocations: 78.8 kB / 0.5849 GB, free: 2.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3315, allocations: 24.14 kB / 0.585 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.629e-05/0.3315, allocations: 28.86 kB / 0.585 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.3316, allocations: 36.64 kB / 0.585 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3316, allocations: 6.062 kB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.3317, allocations: 11.08 kB / 0.585 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.3317, allocations: 11.02 kB / 0.585 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.3318, allocations: 39.2 kB / 0.5851 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3319, allocations: 56.36 kB / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3319, allocations: 0 / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3319, allocations: 0 / 0.5851 GB, free: 2.574 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.3319, allocations: 1.406 kB / 0.5851 GB, free: 2.574 MB / 430.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.0003839/0.3323, allocations: 393 kB / 0.5855 GB, free: 2.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.3323, allocations: 9.781 kB / 0.5855 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.365e-05/0.3323, allocations: 12.84 kB / 0.5855 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3325, allocations: 202.5 kB / 0.5857 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3325, allocations: 3 kB / 0.5857 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.3325, allocations: 8.344 kB / 0.5857 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.3328, allocations: 110.9 kB / 0.5858 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3328, allocations: 0 / 0.5858 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3328, allocations: 5.375 kB / 0.5858 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3328, allocations: 1.406 kB / 0.5858 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.333, allocations: 114.9 kB / 0.586 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.3335, allocations: 391.7 kB / 0.5863 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.3336, allocations: 65.48 kB / 0.5864 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.3338, allocations: 55.12 kB / 0.5864 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.3338, allocations: 11.27 kB / 0.5865 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.3338, allocations: 32.03 kB / 0.5865 GB, free: 1.453 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3338, allocations: 0 / 0.5865 GB, free: 1.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000424/0.3343, allocations: 178.9 kB / 0.5867 GB, free: 1.391 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3343, allocations: 56.78 kB / 0.5867 GB, free: 1.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.3344, allocations: 130.2 kB / 0.5868 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.3344, allocations: 30.17 kB / 0.5869 GB, free: 1.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.3344, allocations: 108.5 kB / 0.587 GB, free: 1.078 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.3344, allocations: 20.11 kB / 0.587 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.3345, allocations: 4.656 kB / 0.587 GB, free: 1.059 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.3345, allocations: 320 kB / 0.5873 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000102/0.3346, allocations: 43.36 kB / 0.5873 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.051e-05/0.3347, allocations: 44.44 kB / 0.5874 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.905e-05/0.3348, allocations: 50.19 kB / 0.5874 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3348, allocations: 0 / 0.5874 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002403/0.3351, allocations: 137.7 kB / 0.5876 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.3351, allocations: 11.95 kB / 0.5876 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3351, allocations: 0 / 0.5876 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.3351, allocations: 0 / 0.5876 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3352, allocations: 22.02 kB / 0.5876 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.3352, allocations: 3.938 kB / 0.5876 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.3353, allocations: 22.42 kB / 0.5876 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.3353, allocations: 8.297 kB / 0.5876 GB, free: 0.6328 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.3354, allocations: 117 kB / 0.5877 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3354, allocations: 4.406 kB / 0.5877 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.3357, allocations: 164.9 kB / 0.5879 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3357, allocations: 0.875 kB / 0.5879 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3357, allocations: 0 / 0.5879 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3358, allocations: 5.484 kB / 0.5879 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3359, allocations: 203.8 kB / 0.5881 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3359, allocations: 0 / 0.5881 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.688e-05/0.336, allocations: 24.5 kB / 0.5881 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.336, allocations: 1 kB / 0.5881 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.336, allocations: 10.23 kB / 0.5881 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.336, allocations: 5.078 kB / 0.5881 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.336, allocations: 0 / 0.5881 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3363, allocations: 235.3 kB / 0.5884 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.3364, allocations: 83.14 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3364, allocations: 5.969 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.3365, allocations: 10.17 kB / 0.5885 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.498e-05/0.3365, allocations: 9.297 kB / 0.5885 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3366, allocations: 8.109 kB / 0.5885 GB, free: 15.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.804e-05/0.3366, allocations: 97.94 kB / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3366, allocations: 0 / 0.5886 GB, free: 15.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.3369, allocations: 25.31 kB / 0.5886 GB, free: 15.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001113/0.337, allocations: 100.6 kB / 0.5887 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3373, allocations: 109.1 kB / 0.5888 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3373, allocations: 4 kB / 0.5888 GB, free: 15.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3374, allocations: 59.25 kB / 0.5889 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.3376, allocations: 5.5 kB / 0.5889 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.338, allocations: 244.5 kB / 0.5891 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.3382, allocations: 0.6992 MB / 0.5898 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.88e-05/0.3383, allocations: 14.58 kB / 0.5898 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3383, allocations: 15.41 kB / 0.5898 GB, free: 14.84 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3383, allocations: 0 / 0.5898 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Templates: time 0.002364/0.3407, allocations: 0.5981 MB / 0.5904 GB, free: 14.77 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)