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.001113/0.001113, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00133/0.001331, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.756/0.756, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 66.39 kB / 0.5013 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5144/0.5158, allocations: 80.2 MB / 0.5796 GB, free: 4.809 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002547/0.5184, allocations: 1.657 MB / 0.5812 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007697/0.5191, allocations: 0.508 MB / 0.5817 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.5192, allocations: 0.875 kB / 0.5817 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.5193, allocations: 7.516 kB / 0.5817 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.822e-05/0.5194, allocations: 11.12 kB / 0.5817 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.5197, allocations: 33.61 kB / 0.5818 GB, free: 3.254 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.5198, allocations: 84.38 kB / 0.5818 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.52, allocations: 42.5 kB / 0.5819 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.5201, allocations: 35.28 kB / 0.5819 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.86e-05/0.5202, allocations: 41.14 kB / 0.582 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.5202, allocations: 6 kB / 0.582 GB, free: 3.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.173e-05/0.5203, allocations: 18.36 kB / 0.582 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.352e-05/0.5203, allocations: 26.28 kB / 0.582 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.5204, allocations: 36.53 kB / 0.582 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.5205, allocations: 85.97 kB / 0.5821 GB, free: 3.078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.5205, allocations: 0 / 0.5821 GB, free: 3.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5205, allocations: 0 / 0.5821 GB, free: 3.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.5206, allocations: 0 / 0.5821 GB, free: 3.078 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.0004737/0.521, allocations: 404.7 kB / 0.5825 GB, free: 2.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.5211, allocations: 9.656 kB / 0.5825 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.5211, allocations: 13.38 kB / 0.5825 GB, free: 2.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.5213, allocations: 195.3 kB / 0.5827 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.5213, allocations: 3.281 kB / 0.5827 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.5213, allocations: 8.438 kB / 0.5827 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.5216, allocations: 110.9 kB / 0.5828 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5216, allocations: 0 / 0.5828 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5216, allocations: 4 kB / 0.5828 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.5216, allocations: 2.406 kB / 0.5828 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.5219, allocations: 100.3 kB / 0.5829 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005473/0.5224, allocations: 376.8 kB / 0.5833 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.5226, allocations: 60.66 kB / 0.5833 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.5227, allocations: 50.08 kB / 0.5834 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.5228, allocations: 3.203 kB / 0.5834 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.5228, allocations: 32.41 kB / 0.5834 GB, free: 1.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.5228, allocations: 0 / 0.5834 GB, free: 1.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004557/0.5232, allocations: 169.8 kB / 0.5836 GB, free: 1.902 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.5233, allocations: 56.02 kB / 0.5836 GB, free: 1.836 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.5234, allocations: 138.5 kB / 0.5838 GB, free: 1.723 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.5234, allocations: 25.7 kB / 0.5838 GB, free: 1.691 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.5234, allocations: 108.3 kB / 0.5839 GB, free: 1.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.5235, allocations: 24.41 kB / 0.5839 GB, free: 1.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.5235, allocations: 17.06 kB / 0.5839 GB, free: 1.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.997e-05/0.5236, allocations: 324.8 kB / 0.5843 GB, free: 1.234 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.5237, allocations: 37.52 kB / 0.5843 GB, free: 1.227 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.984e-05/0.5238, allocations: 42.7 kB / 0.5843 GB, free: 1.215 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.524, allocations: 95.64 kB / 0.5844 GB, free: 1.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.524, allocations: 0 / 0.5844 GB, free: 1.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002688/0.5243, allocations: 128.9 kB / 0.5845 GB, free: 1.121 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.5243, allocations: 5.188 kB / 0.5845 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5243, allocations: 0 / 0.5845 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5243, allocations: 1.422 kB / 0.5846 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.5245, allocations: 25.38 kB / 0.5846 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.5245, allocations: 0.5625 kB / 0.5846 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.5246, allocations: 7.469 kB / 0.5846 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.5246, allocations: 4.031 kB / 0.5846 GB, free: 1.113 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.238e-05/0.5247, allocations: 125.8 kB / 0.5847 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.5247, allocations: 7.875 kB / 0.5847 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/0.5251, allocations: 142.1 kB / 0.5848 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.5251, allocations: 4.594 kB / 0.5849 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5251, allocations: 0 / 0.5849 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5251, allocations: 2.156 kB / 0.5849 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.5253, allocations: 210.7 kB / 0.5851 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5253, allocations: 0.75 kB / 0.5851 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.5254, allocations: 17.72 kB / 0.5851 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.5254, allocations: 1.062 kB / 0.5851 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.5254, allocations: 2.438 kB / 0.5851 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5254, allocations: 3.938 kB / 0.5851 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5254, allocations: 1.062 kB / 0.5851 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.5257, allocations: 231.5 kB / 0.5853 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.5257, allocations: 84.28 kB / 0.5854 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.5258, allocations: 2.031 kB / 0.5854 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5259, allocations: 11.84 kB / 0.5854 GB, free: 432 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.5259, allocations: 9.094 kB / 0.5854 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.5259, allocations: 4.031 kB / 0.5854 GB, free: 428 kB / 430.1 MB Notification: Performance of sorting global known variables: time 5.886e-05/0.526, allocations: 101 kB / 0.5855 GB, free: 344 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.526, allocations: 1.281 kB / 0.5855 GB, free: 344 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.5263, allocations: 29.53 kB / 0.5855 GB, free: 328 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.0001571/0.5264, allocations: 96.5 kB / 0.5856 GB, free: 240 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003089/0.5267, allocations: 105 kB / 0.5857 GB, free: 216 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5268, allocations: 7.875 kB / 0.5857 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.5269, allocations: 52.11 kB / 0.5858 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.5271, allocations: 9.203 kB / 0.5858 GB, free: 192 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004794/0.5276, allocations: 243.1 kB / 0.586 GB, free: 4 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.528, allocations: 0.7063 MB / 0.5867 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.5281, allocations: 13.33 kB / 0.5867 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.5282, allocations: 12.3 kB / 0.5867 GB, free: 15.3 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5282, allocations: 0 / 0.5867 GB, free: 15.3 MB / 446.1 MB Notification: Performance of Templates: time 0.003195/0.5314, allocations: 0.644 MB / 0.5874 GB, free: 15.22 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)