Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions") translateModel(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.009204/0.009204, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.001794/0.001794, allocations: 197.7 kB / 16.67 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4128/0.4128, allocations: 54.95 MB / 324.8 MB, free: 15.88 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.75 kB / 456.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1391, allocations: 59.59 MB / 0.5037 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.002617/0.1417, allocations: 1.566 MB / 0.5052 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.1425, allocations: 0.5285 MB / 0.5058 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.1426, allocations: 1.812 kB / 0.5058 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 9.97e-05/0.1427, allocations: 11.86 kB / 0.5058 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/0.1427, allocations: 18.45 kB / 0.5058 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.143, allocations: 39.77 kB / 0.5058 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1431, allocations: 85.27 kB / 0.5059 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.1432, allocations: 45.98 kB / 0.5059 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.1433, allocations: 29.67 kB / 0.506 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.1434, allocations: 48.12 kB / 0.506 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1434, allocations: 6.875 kB / 0.506 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.44e-05/0.1435, allocations: 13.62 kB / 0.506 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1435, allocations: 21.42 kB / 0.5061 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1436, allocations: 33.42 kB / 0.5061 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.1437, allocations: 94.95 kB / 0.5062 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1437, allocations: 1.375 kB / 0.5062 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1437, allocations: 0 / 0.5062 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1438, allocations: 0 / 0.5062 GB, free: 7.98 MB / 382.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.0004798/0.1442, allocations: 400.1 kB / 0.5066 GB, free: 7.574 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1443, allocations: 9.625 kB / 0.5066 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.1443, allocations: 18.25 kB / 0.5066 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.1445, allocations: 185.8 kB / 0.5068 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1445, allocations: 11.12 kB / 0.5068 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1445, allocations: 15.94 kB / 0.5068 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.1447, allocations: 110.8 kB / 0.5069 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1448, allocations: 1.375 kB / 0.5069 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1448, allocations: 0 / 0.5069 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.1448, allocations: 1.375 kB / 0.5069 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.145, allocations: 99.05 kB / 0.507 GB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.1455, allocations: 379.9 kB / 0.5074 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.1456, allocations: 55.3 kB / 0.5074 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.84e-05/0.1457, allocations: 53.64 kB / 0.5075 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.1458, allocations: 2.75 kB / 0.5075 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.1458, allocations: 43.86 kB / 0.5075 GB, free: 6.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.1458, allocations: 0 / 0.5075 GB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004071/0.1462, allocations: 163.5 kB / 0.5077 GB, free: 6.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.1462, allocations: 52.56 kB / 0.5077 GB, free: 6.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.199e-05/0.1463, allocations: 132.9 kB / 0.5078 GB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1464, allocations: 30.98 kB / 0.5079 GB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.488e-05/0.1464, allocations: 108.2 kB / 0.508 GB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.1464, allocations: 18.2 kB / 0.508 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1465, allocations: 22.73 kB / 0.508 GB, free: 6.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.1465, allocations: 321.4 kB / 0.5083 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.1466, allocations: 39.16 kB / 0.5084 GB, free: 5.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.1467, allocations: 37.69 kB / 0.5084 GB, free: 5.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.1469, allocations: 97.61 kB / 0.5085 GB, free: 5.891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1469, allocations: 0 / 0.5085 GB, free: 5.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002355/0.1472, allocations: 121.3 kB / 0.5086 GB, free: 5.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1472, allocations: 8.562 kB / 0.5086 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1472, allocations: 1.438 kB / 0.5086 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1472, allocations: 0 / 0.5086 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.1474, allocations: 25.84 kB / 0.5086 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1474, allocations: 0 / 0.5086 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.1475, allocations: 17.56 kB / 0.5087 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.1475, allocations: 6.578 kB / 0.5087 GB, free: 5.789 MB / 382.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 6.87e-05/0.1476, allocations: 118.6 kB / 0.5088 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.1476, allocations: 13.03 kB / 0.5088 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.1479, allocations: 149.2 kB / 0.5089 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1479, allocations: 0 / 0.5089 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1479, allocations: 0 / 0.5089 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1479, allocations: 3.984 kB / 0.5089 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.1481, allocations: 197.6 kB / 0.5091 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1481, allocations: 4 kB / 0.5091 GB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.1482, allocations: 15.98 kB / 0.5091 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1482, allocations: 3.938 kB / 0.5091 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.1482, allocations: 7.922 kB / 0.5091 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1482, allocations: 3.938 kB / 0.5092 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1482, allocations: 7.938 kB / 0.5092 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1485, allocations: 223.4 kB / 0.5094 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.936e-05/0.1485, allocations: 84.95 kB / 0.5095 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1485, allocations: 7.938 kB / 0.5095 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.343e-05/0.1486, allocations: 4 kB / 0.5095 GB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.1487, allocations: 15.98 kB / 0.5095 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1487, allocations: 0 / 0.5095 GB, free: 4.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.676e-05/0.1487, allocations: 107.2 kB / 0.5096 GB, free: 4.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1487, allocations: 0 / 0.5096 GB, free: 4.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003498/0.1491, allocations: 12 kB / 0.5096 GB, free: 4.762 MB / 382.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.0001008/0.1492, allocations: 95.25 kB / 0.5097 GB, free: 4.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002378/0.1494, allocations: 108 kB / 0.5098 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1494, allocations: 0 / 0.5098 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/0.1495, allocations: 51.95 kB / 0.5098 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.1498, allocations: 13.67 kB / 0.5099 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.1501, allocations: 223 kB / 0.5101 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.1503, allocations: 0.7002 MB / 0.5107 GB, free: 3.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.417e-05/0.1504, allocations: 19.97 kB / 0.5108 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.1504, allocations: 11.44 kB / 0.5108 GB, free: 3.488 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1504, allocations: 4 kB / 0.5108 GB, free: 3.484 MB / 382.1 MB Notification: Performance of Templates: time 0.002615/0.153, allocations: 0.73 MB / 0.5115 GB, free: 2.762 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)