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.0008986/0.0008983, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004833/0.004833, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7648/0.7648, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 8 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.4178, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.001645/0.4195, allocations: 1.307 MB / 0.5849 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008376/0.4204, allocations: 0.4981 MB / 0.5854 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.502e-05/0.4204, allocations: 5.312 kB / 0.5854 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.4206, allocations: 14.31 kB / 0.5855 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.4206, allocations: 11.53 kB / 0.5855 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.4208, allocations: 34.03 kB / 0.5855 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.421, allocations: 80.27 kB / 0.5856 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.4211, allocations: 31.92 kB / 0.5856 GB, free: 2.641 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.4212, allocations: 31.58 kB / 0.5856 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.148e-05/0.4213, allocations: 33.45 kB / 0.5857 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4214, allocations: 1.875 kB / 0.5857 GB, free: 2.609 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.4214, allocations: 10.58 kB / 0.5857 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.696e-05/0.4215, allocations: 16 kB / 0.5857 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.4216, allocations: 57.39 kB / 0.5857 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.4217, allocations: 78.45 kB / 0.5858 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4218, allocations: 1.828 kB / 0.5858 GB, free: 2.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.4218, allocations: 0 / 0.5858 GB, free: 2.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.4218, allocations: 0 / 0.5858 GB, free: 2.52 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.000505/0.4223, allocations: 405 kB / 0.5862 GB, free: 2.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.4223, allocations: 8.781 kB / 0.5862 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.4224, allocations: 10.75 kB / 0.5862 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.4225, allocations: 196.3 kB / 0.5864 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4226, allocations: 2.688 kB / 0.5864 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.4226, allocations: 8.656 kB / 0.5864 GB, free: 1.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.4229, allocations: 118.1 kB / 0.5865 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4229, allocations: 0 / 0.5865 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.4229, allocations: 5.844 kB / 0.5865 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.423, allocations: 1.438 kB / 0.5865 GB, free: 1.844 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.4232, allocations: 115.3 kB / 0.5867 GB, free: 1.816 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.4239, allocations: 384.8 kB / 0.587 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.424, allocations: 68.83 kB / 0.5871 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.4242, allocations: 54.89 kB / 0.5871 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.4242, allocations: 3.688 kB / 0.5871 GB, free: 1.445 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.4242, allocations: 36.59 kB / 0.5872 GB, free: 1.402 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4243, allocations: 0 / 0.5872 GB, free: 1.402 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005793/0.4248, allocations: 186.4 kB / 0.5874 GB, free: 1.332 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.4249, allocations: 52.34 kB / 0.5874 GB, free: 1.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.425, allocations: 131.9 kB / 0.5875 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.425, allocations: 30.33 kB / 0.5876 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.4251, allocations: 104.1 kB / 0.5877 GB, free: 1.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.4252, allocations: 27.7 kB / 0.5877 GB, free: 1.004 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.4252, allocations: 12.66 kB / 0.5877 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.4253, allocations: 319.5 kB / 0.588 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.4254, allocations: 48.56 kB / 0.588 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.4255, allocations: 51.28 kB / 0.5881 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.4258, allocations: 100.3 kB / 0.5882 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4258, allocations: 0 / 0.5882 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002918/0.4261, allocations: 146.6 kB / 0.5883 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.4261, allocations: 5.312 kB / 0.5883 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4261, allocations: 0.6562 kB / 0.5883 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4262, allocations: 1.344 kB / 0.5883 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.4263, allocations: 28.38 kB / 0.5884 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.4263, allocations: 0.6094 kB / 0.5884 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/0.4264, allocations: 14.11 kB / 0.5884 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/0.4264, allocations: 7.75 kB / 0.5884 GB, free: 0.5352 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 7.065e-05/0.4265, allocations: 117.7 kB / 0.5885 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.4266, allocations: 8.5 kB / 0.5885 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.427, allocations: 156 kB / 0.5887 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.427, allocations: 5.094 kB / 0.5887 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.427, allocations: 0 / 0.5887 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.427, allocations: 2.078 kB / 0.5887 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.4272, allocations: 211.1 kB / 0.5889 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4272, allocations: 4.797 kB / 0.5889 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4273, allocations: 21.14 kB / 0.5889 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4273, allocations: 0.6094 kB / 0.5889 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4273, allocations: 2.031 kB / 0.5889 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4273, allocations: 3.938 kB / 0.5889 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4274, allocations: 1.578 kB / 0.5889 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000371/0.4277, allocations: 238.6 kB / 0.5891 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.4278, allocations: 81.02 kB / 0.5892 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4278, allocations: 1.094 kB / 0.5892 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4279, allocations: 17.55 kB / 0.5892 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.428, allocations: 10.19 kB / 0.5892 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.428, allocations: 12.12 kB / 0.5892 GB, free: 15.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.87e-05/0.4281, allocations: 103.4 kB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4281, allocations: 1.031 kB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.4283, allocations: 20.98 kB / 0.5894 GB, free: 15.74 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.0001672/0.4285, allocations: 96.69 kB / 0.5895 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.4289, allocations: 117 kB / 0.5896 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.4289, allocations: 0 / 0.5896 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001467/0.429, allocations: 59.41 kB / 0.5896 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.4293, allocations: 10.59 kB / 0.5896 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.4298, allocations: 245.3 kB / 0.5899 GB, free: 15.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.4301, allocations: 0.7025 MB / 0.5906 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.4302, allocations: 19.2 kB / 0.5906 GB, free: 14.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.346e-05/0.4302, allocations: 10.59 kB / 0.5906 GB, free: 14.73 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4303, allocations: 1.125 kB / 0.5906 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Templates: time 0.003173/0.4334, allocations: 0.615 MB / 0.5912 GB, free: 14.65 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)