Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001711/0.001712, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.236/1.236, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001523/0.001523, allocations: 110.9 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.117e-05, allocations: 0 / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06583/0.06589, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2556/0.3216, allocations: 72.42 MB / 380.1 MB, free: 3.781 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.3218, allocations: 72.39 kB / 380.1 MB, free: 3.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06258/0.3844, allocations: 33.28 MB / 413.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3845, allocations: 0 / 413.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.3845, allocations: 8 kB / 413.4 MB, free: 8.039 MB / 298.7 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.0009841/0.3855, allocations: 1.007 MB / 414.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3855, allocations: 12.03 kB / 414.4 MB, free: 6.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.3857, allocations: 83.06 kB / 414.5 MB, free: 6.902 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005566/0.3862, allocations: 418.2 kB / 414.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.3863, allocations: 15.81 kB / 414.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.3864, allocations: 23.38 kB / 415 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007372/0.3871, allocations: 496.9 kB / 415.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3871, allocations: 0 / 415.5 MB, free: 6.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.915e-05/0.3872, allocations: 15.75 kB / 415.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3872, allocations: 0 / 415.5 MB, free: 6.062 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/0.3877, allocations: 347.2 kB / 415.8 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.389, allocations: 0.9295 MB / 416.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005891/0.3896, allocations: 0.4961 MB / 417.2 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.3902, allocations: 480.9 kB / 417.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.3902, allocations: 4 kB / 417.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007648/0.391, allocations: 0.627 MB / 418.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.391, allocations: 0 / 418.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001502/0.3925, allocations: 1.11 MB / 419.4 MB, free: 2.266 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.3927, allocations: 287.2 kB / 419.7 MB, free: 1.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3939, allocations: 1.007 MB / 420.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.394, allocations: 37.7 kB / 420.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.3941, allocations: 145.9 kB / 420.9 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.3942, allocations: 79.14 kB / 421 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.3942, allocations: 12 kB / 421 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3943, allocations: 346.8 kB / 421.3 MB, free: 296 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.3948, allocations: 339.7 kB / 421.7 MB, free: 15.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004819/0.3953, allocations: 339.8 kB / 422 MB, free: 15.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005078/0.3958, allocations: 487.6 kB / 422.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3958, allocations: 0 / 422.5 MB, free: 15.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001416/0.3973, allocations: 1.083 MB / 423.6 MB, free: 13.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/0.3975, allocations: 243.9 kB / 423.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3975, allocations: 0 / 423.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.3975, allocations: 7.984 kB / 423.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.45e-05/0.3976, allocations: 0 / 423.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3976, allocations: 4 kB / 423.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002968/0.3979, allocations: 39.88 kB / 423.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.398, allocations: 123.9 kB / 424 MB, free: 13.52 MB / 314.7 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.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.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.0003537/0.3984, allocations: 414 kB / 424.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3985, allocations: 94.95 kB / 424.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.3988, allocations: 147.7 kB / 424.6 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.3988, allocations: 4 kB / 424.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3988, allocations: 0 / 424.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3989, allocations: 0 / 424.6 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002432/0.4013, allocations: 1.919 MB / 426.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4013, allocations: 0 / 426.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.346e-06/0.4013, allocations: 0 / 426.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4013, allocations: 0 / 426.5 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/0.4014, allocations: 31.98 kB / 426.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4014, allocations: 8 kB / 426.6 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4014, allocations: 7.984 kB / 426.6 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.4031, allocations: 1.342 MB / 427.9 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008483/0.4039, allocations: 0.562 MB / 428.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.4041, allocations: 63.89 kB / 428.5 MB, free: 8.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.4044, allocations: 31.97 kB / 428.6 MB, free: 8.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/0.4048, allocations: 235.7 kB / 428.8 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/0.4049, allocations: 131.9 kB / 428.9 MB, free: 8.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001033/0.4059, allocations: 0.8422 MB / 429.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4059, allocations: 0 / 429.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004265/0.4064, allocations: 120 kB / 429.9 MB, free: 7.363 MB / 314.7 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,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.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.0002703/0.4067, allocations: 184.8 kB / 430.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00159/0.4083, allocations: 1.511 MB / 431.6 MB, free: 5.574 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4083, allocations: 0 / 431.6 MB, free: 5.574 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.4094, allocations: 1.132 MB / 432.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4104, allocations: 248.1 kB / 433 MB, free: 4.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.413, allocations: 1.685 MB / 434.6 MB, free: 2.402 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006999/0.4137, allocations: 1.035 MB / 435.7 MB, free: 1.336 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.4138, allocations: 33.45 kB / 435.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.4139, allocations: 15.44 kB / 435.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4139, allocations: 0 / 435.7 MB, free: 1.289 MB / 314.7 MB Notification: Performance of Templates: time 0.01699/0.4309, allocations: 12.62 MB / 448.4 MB, free: 4.395 MB / 330.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1)