Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.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.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") translateModel(IDEAS.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice") [: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.001866/0.00187, allocations: 178.4 kB / 7.457 MB, free: 2.238 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6049/0.6049, allocations: 133.5 MB / 141.4 MB, free: 15.77 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.131/1.131, allocations: 221.3 MB / 395 MB, free: 10.21 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.0008469/0.0008469, allocations: 103 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.291e-06/6.311e-06, allocations: 2.562 kB / 0.5528 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 82.3 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4578, allocations: 111.7 MB / 0.7423 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.4581, allocations: 74.08 kB / 0.7424 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.005554/0.4636, allocations: 1.859 MB / 0.7442 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.4637, allocations: 0.8438 kB / 0.7442 GB, free: 10.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002962/0.464, allocations: 361.4 kB / 0.7445 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.464, allocations: 16.83 kB / 0.7445 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.464, allocations: 7.781 kB / 0.7445 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.4642, allocations: 179.6 kB / 0.7447 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.4642, allocations: 2.75 kB / 0.7447 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.4642, allocations: 3.906 kB / 0.7447 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.695e-05/0.4643, allocations: 11.59 kB / 0.7447 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.079e-05/0.4643, allocations: 54.56 kB / 0.7448 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.4644, allocations: 3.938 kB / 0.7448 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.4644, allocations: 0 / 0.7448 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4644, allocations: 1.312 kB / 0.7448 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002747/0.4647, allocations: 252.6 kB / 0.745 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/0.4647, allocations: 25.55 kB / 0.745 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.4647, allocations: 13.53 kB / 0.7451 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/0.4651, allocations: 0.5564 MB / 0.7456 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.4651, allocations: 32.11 kB / 0.7456 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.4651, allocations: 0 / 0.7456 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.4653, allocations: 50.09 kB / 0.7457 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.4653, allocations: 51.41 kB / 0.7457 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/0.4654, allocations: 99.06 kB / 0.7458 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.4654, allocations: 25.7 kB / 0.7458 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.4655, allocations: 100 kB / 0.7459 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.4655, allocations: 1.547 kB / 0.7459 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.4655, allocations: 0 / 0.7459 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.4656, allocations: 323.5 kB / 0.7463 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.236e-05/0.4656, allocations: 0 / 0.7463 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.4656, allocations: 10.97 kB / 0.7463 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.292e-05/0.4657, allocations: 8.75 kB / 0.7463 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4657, allocations: 0 / 0.7463 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.912e-05/0.4657, allocations: 44.69 kB / 0.7463 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.4658, allocations: 11.72 kB / 0.7463 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4658, allocations: 0 / 0.7463 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.4658, allocations: 0 / 0.7463 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.4659, allocations: 8.938 kB / 0.7463 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4659, allocations: 1.219 kB / 0.7463 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.4659, allocations: 3.844 kB / 0.7463 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.4659, allocations: 1.359 kB / 0.7463 GB, free: 24.45 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 (2): * Single equations (assignments): 2 * 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.181e-05/0.466, allocations: 108.8 kB / 0.7464 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.466, allocations: 3.906 kB / 0.7464 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.4661, allocations: 53.44 kB / 0.7465 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.4661, allocations: 0 / 0.7465 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4661, allocations: 5.375 kB / 0.7465 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.4662, allocations: 0 / 0.7465 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.4663, allocations: 147.6 kB / 0.7466 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.4663, allocations: 0 / 0.7466 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.4663, allocations: 5.219 kB / 0.7467 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4663, allocations: 7.938 kB / 0.7467 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.4663, allocations: 1.5 kB / 0.7467 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4664, allocations: 0 / 0.7467 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4664, allocations: 3.969 kB / 0.7467 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001024/0.4665, allocations: 144.8 kB / 0.7468 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.4665, allocations: 78.33 kB / 0.7469 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4665, allocations: 0.5625 kB / 0.7469 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.4666, allocations: 13.31 kB / 0.7469 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.4666, allocations: 3.938 kB / 0.7469 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.4666, allocations: 9.141 kB / 0.7469 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.158e-05/0.4667, allocations: 84.52 kB / 0.747 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002003/0.4669, allocations: 11.69 kB / 0.747 GB, free: 23.81 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 (2): * Single equations (assignments): 2 * 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.0001094/0.467, allocations: 108.2 kB / 0.7471 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.324e-05/0.4671, allocations: 11.06 kB / 0.7471 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.4671, allocations: 4.062 kB / 0.7471 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.676e-05/0.4671, allocations: 9.109 kB / 0.7471 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001122/0.4672, allocations: 0 / 0.7471 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000178/0.4674, allocations: 70.56 kB / 0.7472 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.4676, allocations: 0.7055 MB / 0.7479 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.4676, allocations: 0 / 0.7479 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.001805/0.4694, allocations: 443.5 kB / 0.7483 GB, free: 22.88 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Splice.pipe 2>&1)