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.001299/0.001299, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001586/0.001586, allocations: 191 kB / 16.14 MB, free: 6.688 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7964/0.7964, allocations: 132.2 MB / 422.2 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 56.25 kB / 0.5011 GB, free: 4.332 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4385/0.4397, allocations: 80.21 MB / 0.5794 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003152/0.4429, allocations: 1.646 MB / 0.581 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.444, allocations: 0.5096 MB / 0.5815 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.444, allocations: 1.344 kB / 0.5815 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.4442, allocations: 10.03 kB / 0.5815 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.4442, allocations: 7.797 kB / 0.5815 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.4445, allocations: 37.38 kB / 0.5816 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.4446, allocations: 78.98 kB / 0.5817 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.4448, allocations: 36.75 kB / 0.5817 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4449, allocations: 35.38 kB / 0.5817 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.4451, allocations: 40.31 kB / 0.5818 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.4451, allocations: 9.219 kB / 0.5818 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.4452, allocations: 13.06 kB / 0.5818 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.151e-05/0.4452, allocations: 21.44 kB / 0.5818 GB, free: 2.891 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.769e-05/0.4453, allocations: 36.7 kB / 0.5818 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.4455, allocations: 84.2 kB / 0.5819 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4455, allocations: 0 / 0.5819 GB, free: 2.832 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4455, allocations: 1.656 kB / 0.5819 GB, free: 2.832 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.4455, allocations: 0 / 0.5819 GB, free: 2.832 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.0005858/0.4461, allocations: 402.8 kB / 0.5823 GB, free: 2.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.4462, allocations: 13.53 kB / 0.5823 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.4462, allocations: 10.69 kB / 0.5823 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4464, allocations: 206.4 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4464, allocations: 3.891 kB / 0.5825 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.4464, allocations: 8.5 kB / 0.5825 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.4467, allocations: 105.4 kB / 0.5826 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.4467, allocations: 1.406 kB / 0.5826 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4468, allocations: 4.75 kB / 0.5826 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.4468, allocations: 2.125 kB / 0.5826 GB, free: 2.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002803/0.4471, allocations: 100.6 kB / 0.5827 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.4477, allocations: 372.2 kB / 0.5831 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.4479, allocations: 68.97 kB / 0.5832 GB, free: 1.773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.448, allocations: 45.2 kB / 0.5832 GB, free: 1.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.4481, allocations: 7.031 kB / 0.5832 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.4481, allocations: 40.47 kB / 0.5833 GB, free: 1.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.4481, allocations: 0.7812 kB / 0.5833 GB, free: 1.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005281/0.4486, allocations: 165.7 kB / 0.5834 GB, free: 1.641 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.4487, allocations: 52.72 kB / 0.5835 GB, free: 1.578 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.4488, allocations: 136.1 kB / 0.5836 GB, free: 1.465 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.4488, allocations: 29.7 kB / 0.5836 GB, free: 1.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.4489, allocations: 104.3 kB / 0.5837 GB, free: 1.332 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.4489, allocations: 23.05 kB / 0.5837 GB, free: 1.312 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.449, allocations: 25.28 kB / 0.5838 GB, free: 1.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.449, allocations: 320.2 kB / 0.5841 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.4492, allocations: 38.05 kB / 0.5841 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.4493, allocations: 39.58 kB / 0.5841 GB, free: 0.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.4495, allocations: 87.44 kB / 0.5842 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4496, allocations: 4.75 kB / 0.5842 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002948/0.4499, allocations: 123.7 kB / 0.5844 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.4499, allocations: 4.531 kB / 0.5844 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4499, allocations: 1.469 kB / 0.5844 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4499, allocations: 0.7031 kB / 0.5844 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.4501, allocations: 25.73 kB / 0.5844 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4501, allocations: 448 / 0.5844 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.052e-05/0.4502, allocations: 16.89 kB / 0.5844 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.4502, allocations: 3.562 kB / 0.5844 GB, free: 0.8555 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/0.4503, allocations: 117.1 kB / 0.5845 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.517e-05/0.4504, allocations: 11.83 kB / 0.5845 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.4508, allocations: 145.8 kB / 0.5847 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4508, allocations: 7.875 kB / 0.5847 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4508, allocations: 2.156 kB / 0.5847 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4508, allocations: 4 kB / 0.5847 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.451, allocations: 200 kB / 0.5849 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.451, allocations: 0.8125 kB / 0.5849 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.4511, allocations: 21.89 kB / 0.5849 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4511, allocations: 0 / 0.5849 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.4512, allocations: 2.141 kB / 0.5849 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4512, allocations: 4.906 kB / 0.5849 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4512, allocations: 0.6562 kB / 0.5849 GB, free: 444 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.4515, allocations: 220.4 kB / 0.5851 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.4515, allocations: 88.38 kB / 0.5852 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.4516, allocations: 4.797 kB / 0.5852 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4517, allocations: 11.56 kB / 0.5852 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.158e-05/0.4517, allocations: 9.969 kB / 0.5852 GB, free: 168 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.4517, allocations: 4.125 kB / 0.5852 GB, free: 168 kB / 430.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.4518, allocations: 107.8 kB / 0.5853 GB, free: 80 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4518, allocations: 0 / 0.5853 GB, free: 80 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.4521, allocations: 21.58 kB / 0.5853 GB, free: 72 kB / 430.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.0001828/0.4523, allocations: 101.2 kB / 0.5854 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003143/0.4526, allocations: 93.44 kB / 0.5855 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4526, allocations: 0 / 0.5855 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.4527, allocations: 62.27 kB / 0.5856 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.453, allocations: 2.062 kB / 0.5856 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005277/0.4535, allocations: 237.1 kB / 0.5858 GB, free: 15.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.4538, allocations: 0.7077 MB / 0.5865 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001388/0.454, allocations: 18.86 kB / 0.5865 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.454, allocations: 11.28 kB / 0.5865 GB, free: 15.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.454, allocations: 0 / 0.5865 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Templates: time 0.003395/0.4574, allocations: 0.6398 MB / 0.5872 GB, free: 14.96 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)