Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001017/0.001017, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7314/0.7314, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.642/1.642, allocations: 221.3 MB / 400.4 MB, free: 5.836 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.0009903/0.0009902, allocations: 102.8 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.045e-05, allocations: 8.172 kB / 0.56 GB, free: 87.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 82.31 MB / 0.6404 GB, free: 7.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5466/0.7028, allocations: 112 MB / 0.7498 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.7031, allocations: 70.12 kB / 0.7499 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005199/0.7083, allocations: 1.748 MB / 0.7516 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7083, allocations: 0 / 0.7516 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.7083, allocations: 0 / 0.7516 GB, free: 27.53 MB / 0.5105 GB 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.0003913/0.7087, allocations: 393.1 kB / 0.7519 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.7088, allocations: 11.56 kB / 0.752 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.7088, allocations: 7.75 kB / 0.752 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.709, allocations: 209.9 kB / 0.7522 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.709, allocations: 0 / 0.7522 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.7091, allocations: 7.562 kB / 0.7522 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.7092, allocations: 90.61 kB / 0.7523 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.7092, allocations: 7.828 kB / 0.7523 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.7093, allocations: 7.625 kB / 0.7523 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.7093, allocations: 0 / 0.7523 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.7094, allocations: 62.02 kB / 0.7523 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004958/0.7099, allocations: 386.9 kB / 0.7527 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.403e-05/0.71, allocations: 43.17 kB / 0.7527 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.491e-05/0.71, allocations: 29.77 kB / 0.7528 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.7101, allocations: 13.78 kB / 0.7528 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.7101, allocations: 38.45 kB / 0.7528 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.7101, allocations: 0 / 0.7528 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0001882/0.7103, allocations: 92.66 kB / 0.7529 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.7103, allocations: 55.28 kB / 0.753 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.7104, allocations: 123.8 kB / 0.7531 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.7104, allocations: 25.7 kB / 0.7531 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.7105, allocations: 106.5 kB / 0.7532 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.7105, allocations: 19.56 kB / 0.7532 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.7105, allocations: 3 kB / 0.7532 GB, free: 26.21 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.7106, allocations: 317.2 kB / 0.7535 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.7107, allocations: 26.09 kB / 0.7536 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.613e-05/0.7107, allocations: 31.22 kB / 0.7536 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.7108, allocations: 28.91 kB / 0.7536 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.7108, allocations: 3.938 kB / 0.7536 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001282/0.7109, allocations: 95.06 kB / 0.7537 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/0.7109, allocations: 5.094 kB / 0.7537 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.7109, allocations: 3.953 kB / 0.7537 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.7109, allocations: 3.812 kB / 0.7537 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.7111, allocations: 21.73 kB / 0.7537 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.7111, allocations: 4 kB / 0.7537 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.7112, allocations: 14.81 kB / 0.7538 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.7112, allocations: 7.094 kB / 0.7538 GB, free: 25.84 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.7113, allocations: 101 kB / 0.7539 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.827e-05/0.7113, allocations: 7.719 kB / 0.7539 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.7115, allocations: 121.6 kB / 0.754 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7115, allocations: 3.953 kB / 0.754 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.7115, allocations: 7.141 kB / 0.754 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7115, allocations: 0 / 0.754 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.7117, allocations: 204.7 kB / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7117, allocations: 3.844 kB / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.972e-05/0.7118, allocations: 20.34 kB / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7118, allocations: 0 / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.7118, allocations: 3.375 kB / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7118, allocations: 0 / 0.7542 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.7118, allocations: 7.797 kB / 0.7542 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.712, allocations: 198.2 kB / 0.7544 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.201e-05/0.712, allocations: 81.02 kB / 0.7545 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.7121, allocations: 3.844 kB / 0.7545 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.922e-05/0.7122, allocations: 13.72 kB / 0.7545 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.7122, allocations: 8.172 kB / 0.7545 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.7122, allocations: 3.812 kB / 0.7545 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.462e-05/0.7123, allocations: 104 kB / 0.7546 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7123, allocations: 0 / 0.7546 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002043/0.7125, allocations: 23 kB / 0.7546 GB, free: 25.16 MB / 0.5105 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.7127, allocations: 101 kB / 0.7547 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.7128, allocations: 77.48 kB / 0.7548 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7128, allocations: 0 / 0.7548 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.155e-05/0.7129, allocations: 45.11 kB / 0.7548 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.713, allocations: 3.938 kB / 0.7549 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.7133, allocations: 139.6 kB / 0.755 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.7136, allocations: 0.7032 MB / 0.7557 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.435e-05/0.7137, allocations: 17.52 kB / 0.7557 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.7137, allocations: 17.69 kB / 0.7557 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.7137, allocations: 0 / 0.7557 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.002235/0.7159, allocations: 0.593 MB / 0.7563 GB, free: 24.21 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)