Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008318/0.008318, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8274/0.8274, allocations: 132.3 MB / 148.1 MB, free: 236 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.1 MB / 403.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009636/0.0009636, allocations: 101.7 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003283, allocations: 8 kB / 0.5641 GB, free: 2.086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4549/0.4552, allocations: 81.57 MB / 0.6437 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1552/0.6105, allocations: 115.5 MB / 0.7566 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.6108, allocations: 79.95 kB / 0.7566 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01516/0.626, allocations: 5.567 MB / 0.7621 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.843e-06/0.626, allocations: 0 / 0.7621 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.6261, allocations: 0 / 0.7621 GB, free: 14.75 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006622/0.6267, allocations: 496.1 kB / 0.7625 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.6268, allocations: 12.03 kB / 0.7626 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.306e-05/0.6268, allocations: 15.81 kB / 0.7626 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.6272, allocations: 263.5 kB / 0.7628 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.6272, allocations: 4 kB / 0.7628 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.6273, allocations: 8 kB / 0.7628 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.6275, allocations: 96.22 kB / 0.7629 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.6275, allocations: 3.938 kB / 0.7629 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.6275, allocations: 3.938 kB / 0.7629 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.6276, allocations: 0 / 0.7629 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.6277, allocations: 35.98 kB / 0.763 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.6282, allocations: 372.7 kB / 0.7633 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.6285, allocations: 90.69 kB / 0.7634 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.6285, allocations: 0 / 0.7634 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.6287, allocations: 83.42 kB / 0.7635 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.6287, allocations: 4 kB / 0.7635 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0004083/0.6291, allocations: 230.5 kB / 0.7637 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.6292, allocations: 106.8 kB / 0.7638 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.6295, allocations: 241.9 kB / 0.764 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.6295, allocations: 33.7 kB / 0.7641 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.6296, allocations: 124 kB / 0.7642 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.6296, allocations: 15.8 kB / 0.7642 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.6296, allocations: 4 kB / 0.7642 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6298, allocations: 326.8 kB / 0.7645 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.185e-05/0.6298, allocations: 27.98 kB / 0.7646 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.6299, allocations: 76.27 kB / 0.7646 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.264e-05/0.63, allocations: 31.92 kB / 0.7647 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.63, allocations: 0 / 0.7647 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002282/0.6303, allocations: 125.5 kB / 0.7648 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.6303, allocations: 7.938 kB / 0.7648 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6303, allocations: 4 kB / 0.7648 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6303, allocations: 4 kB / 0.7648 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.746e-05/0.6304, allocations: 11.94 kB / 0.7648 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6305, allocations: 3.953 kB / 0.7648 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.377e-05/0.6305, allocations: 15.83 kB / 0.7648 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.6306, allocations: 4 kB / 0.7648 GB, free: 11.65 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001342/0.6307, allocations: 145.9 kB / 0.765 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.6307, allocations: 15.86 kB / 0.765 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.631, allocations: 131 kB / 0.7651 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.631, allocations: 4 kB / 0.7651 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.6311, allocations: 0 / 0.7651 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6311, allocations: 3.953 kB / 0.7651 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.6313, allocations: 225.6 kB / 0.7653 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6313, allocations: 0 / 0.7653 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.988e-05/0.6313, allocations: 11.98 kB / 0.7653 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.6313, allocations: 4 kB / 0.7653 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.6314, allocations: 0 / 0.7653 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6314, allocations: 4 kB / 0.7653 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6314, allocations: 0 / 0.7653 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.6316, allocations: 157.5 kB / 0.7655 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.6317, allocations: 100.9 kB / 0.7656 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.6318, allocations: 4 kB / 0.7656 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.6318, allocations: 8 kB / 0.7656 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.494e-05/0.6319, allocations: 11.98 kB / 0.7656 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.6319, allocations: 3.984 kB / 0.7656 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002062/0.6321, allocations: 192.6 kB / 0.7658 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6322, allocations: 3.938 kB / 0.7658 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003018/0.6325, allocations: 51.92 kB / 0.7659 GB, free: 10.49 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001072/0.6335, allocations: 445.8 kB / 0.7663 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.6338, allocations: 79.95 kB / 0.7664 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.6338, allocations: 4 kB / 0.7664 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.759e-05/0.6339, allocations: 43.91 kB / 0.7664 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.6342, allocations: 29.52 kB / 0.7664 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.6348, allocations: 322.1 kB / 0.7667 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.6351, allocations: 0.7285 MB / 0.7674 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.6352, allocations: 29.06 kB / 0.7675 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.6352, allocations: 19.44 kB / 0.7675 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6352, allocations: 0 / 0.7675 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of Templates: time 0.005391/0.6406, allocations: 2.478 MB / 0.7699 GB, free: 6.453 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)