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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001202, allocations: 182 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6963/0.6963, allocations: 132.2 MB / 148.9 MB, free: 12.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 403.3 MB, free: 7.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.0009862, allocations: 113.2 kB / 484.3 MB, free: 8.715 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009415/0.0009415, allocations: 60.09 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.138, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003012/0.141, allocations: 1.648 MB / 0.6418 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009223/0.142, allocations: 0.5083 MB / 0.6423 GB, free: 4.602 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.1421, allocations: 0 / 0.6423 GB, free: 4.602 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.1422, allocations: 7.922 kB / 0.6423 GB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.018e-05/0.1423, allocations: 19.86 kB / 0.6423 GB, free: 4.574 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.1426, allocations: 31.97 kB / 0.6423 GB, free: 4.543 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1427, allocations: 75.72 kB / 0.6424 GB, free: 4.469 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.1429, allocations: 48.19 kB / 0.6424 GB, free: 4.422 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.143, allocations: 31.86 kB / 0.6425 GB, free: 4.391 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.1431, allocations: 43.83 kB / 0.6425 GB, free: 4.348 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.1431, allocations: 4 kB / 0.6425 GB, free: 4.344 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.1432, allocations: 11.94 kB / 0.6425 GB, free: 4.332 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.363e-05/0.1432, allocations: 19.92 kB / 0.6426 GB, free: 4.312 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.133e-05/0.1433, allocations: 39.73 kB / 0.6426 GB, free: 4.273 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1435, allocations: 83.98 kB / 0.6427 GB, free: 4.191 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1435, allocations: 7.938 kB / 0.6427 GB, free: 4.184 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1435, allocations: 0 / 0.6427 GB, free: 4.184 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1435, allocations: 0 / 0.6427 GB, free: 4.184 MB / 442.7 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.0005242/0.144, allocations: 403.1 kB / 0.6431 GB, free: 3.742 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1441, allocations: 8.031 kB / 0.6431 GB, free: 3.734 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.64e-05/0.1441, allocations: 12.84 kB / 0.6431 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1443, allocations: 196.1 kB / 0.6433 GB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1443, allocations: 8.375 kB / 0.6433 GB, free: 3.484 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.1444, allocations: 8.375 kB / 0.6433 GB, free: 3.477 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.1446, allocations: 109.9 kB / 0.6434 GB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1446, allocations: 0 / 0.6434 GB, free: 3.363 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.1447, allocations: 8 kB / 0.6434 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1447, allocations: 0 / 0.6434 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002402/0.1449, allocations: 91.94 kB / 0.6435 GB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005885/0.1455, allocations: 380.5 kB / 0.6438 GB, free: 2.844 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1457, allocations: 58.55 kB / 0.6439 GB, free: 2.777 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.1458, allocations: 52.95 kB / 0.644 GB, free: 2.723 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1458, allocations: 4 kB / 0.644 GB, free: 2.719 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.1459, allocations: 30.56 kB / 0.644 GB, free: 2.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1459, allocations: 0 / 0.644 GB, free: 2.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004991/0.1464, allocations: 165.4 kB / 0.6441 GB, free: 2.512 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1464, allocations: 63.41 kB / 0.6442 GB, free: 2.438 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1466, allocations: 131.5 kB / 0.6443 GB, free: 2.301 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1466, allocations: 29.64 kB / 0.6444 GB, free: 2.266 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.1466, allocations: 104 kB / 0.6445 GB, free: 2.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.1467, allocations: 27.73 kB / 0.6445 GB, free: 2.133 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.1467, allocations: 17.7 kB / 0.6445 GB, free: 2.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1469, allocations: 318.8 kB / 0.6448 GB, free: 1.789 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.147, allocations: 43.97 kB / 0.6448 GB, free: 1.746 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.1471, allocations: 35.97 kB / 0.6449 GB, free: 1.711 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1474, allocations: 97.11 kB / 0.645 GB, free: 1.613 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1474, allocations: 0 / 0.645 GB, free: 1.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002665/0.1476, allocations: 129.5 kB / 0.6451 GB, free: 1.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.1477, allocations: 13.88 kB / 0.6451 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1477, allocations: 0 / 0.6451 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1477, allocations: 0 / 0.6451 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.1478, allocations: 19.92 kB / 0.6451 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1479, allocations: 0 / 0.6451 GB, free: 1.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.635e-05/0.1479, allocations: 7.984 kB / 0.6451 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.148, allocations: 4 kB / 0.6451 GB, free: 1.438 MB / 442.7 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 9.397e-05/0.1481, allocations: 119.2 kB / 0.6453 GB, free: 1.312 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.1481, allocations: 11.89 kB / 0.6453 GB, free: 1.301 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.1484, allocations: 146.3 kB / 0.6454 GB, free: 1.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1485, allocations: 3.938 kB / 0.6454 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1485, allocations: 0 / 0.6454 GB, free: 1.145 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1485, allocations: 3.984 kB / 0.6454 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002332/0.1487, allocations: 209.5 kB / 0.6456 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1487, allocations: 0 / 0.6456 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1488, allocations: 23.97 kB / 0.6456 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1488, allocations: 0 / 0.6456 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.1489, allocations: 0 / 0.6456 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.1489, allocations: 3.938 kB / 0.6456 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1489, allocations: 4 kB / 0.6456 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.1496, allocations: 0.8255 MB / 0.6465 GB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.351e-05/0.1497, allocations: 100.9 kB / 0.6465 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.1497, allocations: 0 / 0.6465 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.1498, allocations: 4 kB / 0.6466 GB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.1499, allocations: 7.984 kB / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1499, allocations: 4 kB / 0.6466 GB, free: 15.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.239e-05/0.15, allocations: 107.2 kB / 0.6467 GB, free: 15.73 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.15, allocations: 0 / 0.6467 GB, free: 15.73 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.1504, allocations: 19.91 kB / 0.6467 GB, free: 15.71 MB / 458.7 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.0002075/0.1506, allocations: 99.25 kB / 0.6468 GB, free: 15.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.1509, allocations: 95.94 kB / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1509, allocations: 0 / 0.6469 GB, free: 15.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.1511, allocations: 59.89 kB / 0.6469 GB, free: 15.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.1513, allocations: 13.56 kB / 0.6469 GB, free: 15.45 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.1519, allocations: 351.9 kB / 0.6473 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.1522, allocations: 0.7083 MB / 0.648 GB, free: 14.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.1523, allocations: 15.97 kB / 0.648 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.1524, allocations: 11.44 kB / 0.648 GB, free: 14.3 MB / 458.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1524, allocations: 0 / 0.648 GB, free: 14.3 MB / 458.7 MB Notification: Performance of Templates: time 0.002954/0.1553, allocations: 0.6406 MB / 0.6486 GB, free: 13.66 MB / 458.7 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)