Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001009/0.001009, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.262/1.262, allocations: 194.3 MB / 203.1 MB, free: 9.262 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001736, allocations: 124.5 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.581e-05, allocations: 7.984 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08177, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2582/0.34, allocations: 77.03 MB / 419.6 MB, free: 18.7 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.3403, allocations: 67.64 kB / 419.7 MB, free: 18.66 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04247/0.3828, allocations: 26.63 MB / 446.3 MB, free: 13.27 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3828, allocations: 0 / 446.3 MB, free: 13.27 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.3828, allocations: 8 kB / 446.3 MB, free: 13.26 MB / 331.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001156/0.384, allocations: 1.015 MB / 447.3 MB, free: 12.21 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3841, allocations: 8.031 kB / 447.3 MB, free: 12.2 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.3843, allocations: 86.97 kB / 447.4 MB, free: 12.11 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006376/0.3849, allocations: 406.3 kB / 447.8 MB, free: 11.71 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.385, allocations: 15.94 kB / 447.8 MB, free: 11.7 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.385, allocations: 23.95 kB / 447.8 MB, free: 11.67 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004817/0.3855, allocations: 347.1 kB / 448.2 MB, free: 11.43 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.3862, allocations: 478.4 kB / 448.7 MB, free: 11.07 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3862, allocations: 0 / 448.7 MB, free: 11.07 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.3862, allocations: 8 kB / 448.7 MB, free: 11.07 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.3862, allocations: 3.984 kB / 448.7 MB, free: 11.06 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.3876, allocations: 0.8881 MB / 449.6 MB, free: 10.32 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005046/0.3881, allocations: 494.7 kB / 450 MB, free: 10.03 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004583/0.3886, allocations: 476 kB / 450.5 MB, free: 9.762 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-06/0.3886, allocations: 0 / 450.5 MB, free: 9.762 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006555/0.3893, allocations: 0.6285 MB / 451.1 MB, free: 9.219 MB / 331.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.3893, allocations: 0 / 451.1 MB, free: 9.219 MB / 331.1 MB Notification: Performance of matching and sorting (n=32): time 0.001208/0.3905, allocations: 0.882 MB / 452 MB, free: 8.531 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.3907, allocations: 287 kB / 452.3 MB, free: 8.211 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3918, allocations: 0.9773 MB / 453.3 MB, free: 7.406 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.3919, allocations: 41.39 kB / 453.3 MB, free: 7.363 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.392, allocations: 152.6 kB / 453.5 MB, free: 7.246 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.3921, allocations: 61.89 kB / 453.5 MB, free: 7.195 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.3922, allocations: 8 kB / 453.5 MB, free: 7.188 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.3923, allocations: 345 kB / 453.9 MB, free: 6.855 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.3927, allocations: 332.7 kB / 454.2 MB, free: 6.637 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.3931, allocations: 328.9 kB / 454.5 MB, free: 6.422 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.3934, allocations: 248.7 kB / 454.8 MB, free: 6.254 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3934, allocations: 4 kB / 454.8 MB, free: 6.25 MB / 331.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00109/0.3945, allocations: 0.819 MB / 455.6 MB, free: 5.629 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.3947, allocations: 255.9 kB / 455.8 MB, free: 5.355 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3947, allocations: 4 kB / 455.8 MB, free: 5.352 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3947, allocations: 3.938 kB / 455.8 MB, free: 5.348 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.384e-05/0.3948, allocations: 4 kB / 455.8 MB, free: 5.344 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3948, allocations: 0 / 455.8 MB, free: 5.344 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.3951, allocations: 46.89 kB / 455.9 MB, free: 5.301 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.3952, allocations: 124.4 kB / 456 MB, free: 5.18 MB / 331.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0004458/0.3957, allocations: 411.7 kB / 456.4 MB, free: 4.75 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3958, allocations: 91 kB / 456.5 MB, free: 4.66 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.396, allocations: 148.5 kB / 456.6 MB, free: 4.527 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.396, allocations: 4 kB / 456.6 MB, free: 4.523 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.396, allocations: 0 / 456.6 MB, free: 4.523 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.396, allocations: 0 / 456.6 MB, free: 4.523 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.3979, allocations: 1.591 MB / 458.2 MB, free: 3.254 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3979, allocations: 0 / 458.2 MB, free: 3.254 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-06/0.3979, allocations: 0 / 458.2 MB, free: 3.254 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3979, allocations: 4 kB / 458.2 MB, free: 3.25 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.398, allocations: 35.59 kB / 458.3 MB, free: 3.219 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.398, allocations: 3.938 kB / 458.3 MB, free: 3.215 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.398, allocations: 3.938 kB / 458.3 MB, free: 3.211 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.3993, allocations: 1.062 MB / 459.3 MB, free: 2.371 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007097/0.4, allocations: 0.5559 MB / 459.9 MB, free: 1.895 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.4002, allocations: 59.95 kB / 460 MB, free: 1.836 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.4005, allocations: 39.88 kB / 460 MB, free: 1.797 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003875/0.4009, allocations: 235.8 kB / 460.2 MB, free: 1.566 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.4011, allocations: 131.9 kB / 460.4 MB, free: 1.438 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.001013/0.4021, allocations: 0.807 MB / 461.2 MB, free: 0.6367 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4021, allocations: 0 / 461.2 MB, free: 0.6367 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0004236/0.4025, allocations: 120 kB / 461.3 MB, free: 0.5195 MB / 331.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0002578/0.4028, allocations: 189.6 kB / 461.5 MB, free: 332 kB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.4043, allocations: 1.476 MB / 462.9 MB, free: 14.76 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4043, allocations: 0 / 462.9 MB, free: 14.76 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009891/0.4053, allocations: 1.128 MB / 464.1 MB, free: 13.55 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.4064, allocations: 253.2 kB / 464.3 MB, free: 13.3 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.409, allocations: 1.696 MB / 466 MB, free: 11.58 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007733/0.4098, allocations: 1.027 MB / 467 MB, free: 10.52 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.41, allocations: 37.81 kB / 467.1 MB, free: 10.48 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.495e-05/0.41, allocations: 15.44 kB / 467.1 MB, free: 10.47 MB / 347.1 MB Notification: Performance of SimCode: time 5.81e-07/0.41, allocations: 0 / 467.1 MB, free: 10.47 MB / 347.1 MB Notification: Performance of Templates: time 0.01604/0.4261, allocations: 12.24 MB / 479.3 MB, free: 13.99 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1)