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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002001/0.002001, allocations: 177.2 kB / 7.461 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6068/0.6068, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.114/1.114, allocations: 221.3 MB / 395 MB, free: 10.2 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.0008205/0.0008205, allocations: 101.7 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.842e-06/6.863e-06, allocations: 2.969 kB / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3094/0.41, allocations: 111.3 MB / 0.7419 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.4102, allocations: 71.55 kB / 0.7419 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.004338/0.4146, allocations: 1.434 MB / 0.7433 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.4146, allocations: 1.094 kB / 0.7433 GB, free: 10.95 MB / 0.4948 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.0003831/0.415, allocations: 397.4 kB / 0.7437 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.415, allocations: 7.688 kB / 0.7437 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.4151, allocations: 11.94 kB / 0.7437 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4152, allocations: 196.2 kB / 0.7439 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.4153, allocations: 3.875 kB / 0.7439 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.4153, allocations: 7.656 kB / 0.7439 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001274/0.4154, allocations: 71.61 kB / 0.744 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.4155, allocations: 86.14 kB / 0.7441 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4155, allocations: 0 / 0.7441 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.4156, allocations: 0 / 0.7441 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4156, allocations: 1.031 kB / 0.7441 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.4161, allocations: 360.3 kB / 0.7444 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.37e-05/0.4161, allocations: 43.8 kB / 0.7445 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.4162, allocations: 37.17 kB / 0.7445 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.678e-05/0.4162, allocations: 3.844 kB / 0.7445 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.4162, allocations: 35.73 kB / 0.7445 GB, free: 26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4162, allocations: 0 / 0.7445 GB, free: 26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0002303/0.4165, allocations: 99.33 kB / 0.7446 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.4165, allocations: 56.42 kB / 0.7447 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.747e-05/0.4166, allocations: 118.6 kB / 0.7448 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.4166, allocations: 25.7 kB / 0.7448 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.4166, allocations: 103.4 kB / 0.7449 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.775e-05/0.4167, allocations: 12.77 kB / 0.7449 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.4167, allocations: 0 / 0.7449 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.4168, allocations: 324.5 kB / 0.7453 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.4168, allocations: 21.48 kB / 0.7453 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.4168, allocations: 25.62 kB / 0.7453 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.4169, allocations: 30.61 kB / 0.7453 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4169, allocations: 0 / 0.7453 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000143/0.4171, allocations: 101.9 kB / 0.7454 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/0.4171, allocations: 9.141 kB / 0.7454 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.257e-06/0.4171, allocations: 0 / 0.7454 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.4171, allocations: 4.594 kB / 0.7454 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.4172, allocations: 20.89 kB / 0.7455 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.4172, allocations: 3.938 kB / 0.7455 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.4173, allocations: 14.7 kB / 0.7455 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4173, allocations: 5.219 kB / 0.7455 GB, free: 25.3 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 5.277e-05/0.4174, allocations: 104.9 kB / 0.7456 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.4174, allocations: 10.22 kB / 0.7456 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.4177, allocations: 115.2 kB / 0.7457 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.4177, allocations: 3.938 kB / 0.7457 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4177, allocations: 3.844 kB / 0.7457 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4177, allocations: 0 / 0.7457 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.4179, allocations: 187.6 kB / 0.7459 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4179, allocations: 1.5 kB / 0.7459 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.418, allocations: 23.56 kB / 0.7459 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.418, allocations: 3.844 kB / 0.7459 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.418, allocations: 2.281 kB / 0.7459 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.418, allocations: 0 / 0.7459 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.418, allocations: 0 / 0.7459 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000169/0.4182, allocations: 200.4 kB / 0.7461 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.4182, allocations: 81.02 kB / 0.7462 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.4183, allocations: 1.516 kB / 0.7462 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4184, allocations: 17.05 kB / 0.7462 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.4184, allocations: 7.016 kB / 0.7462 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.4184, allocations: 9.125 kB / 0.7462 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.121e-05/0.4185, allocations: 99 kB / 0.7463 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002087/0.4187, allocations: 19.34 kB / 0.7463 GB, free: 24.64 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.0001013/0.4188, allocations: 102.3 kB / 0.7464 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001141/0.4189, allocations: 71.8 kB / 0.7465 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.4189, allocations: 0 / 0.7465 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-05/0.419, allocations: 41.53 kB / 0.7465 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.4191, allocations: 4.484 kB / 0.7465 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.4194, allocations: 136.6 kB / 0.7467 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.4197, allocations: 0.7253 MB / 0.7474 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.4197, allocations: 0 / 0.7474 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.002284/0.422, allocations: 0.7832 MB / 0.7481 GB, free: 23.69 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)