Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009545/0.0009544, allocations: 187 kB / 8.352 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.274/1.274, allocations: 194.3 MB / 203.1 MB, free: 9.316 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.001505/0.001505, allocations: 112.4 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.752e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07689/0.07692, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3469, allocations: 77.07 MB / 419.6 MB, free: 18.67 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.3472, allocations: 70.64 kB / 419.7 MB, free: 18.63 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05592/0.4031, allocations: 33.19 MB / 452.9 MB, free: 7.828 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4032, allocations: 0 / 452.9 MB, free: 7.828 MB / 331.1 MB Notification: Performance of Transformations before backend: time 3.051e-05/0.4032, allocations: 8 kB / 452.9 MB, free: 7.82 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.001389/0.4046, allocations: 1.006 MB / 453.9 MB, free: 6.777 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.4047, allocations: 12.02 kB / 453.9 MB, free: 6.766 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.4049, allocations: 86.97 kB / 454 MB, free: 6.68 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006935/0.4056, allocations: 402.2 kB / 454.4 MB, free: 6.277 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.4057, allocations: 15.44 kB / 454.4 MB, free: 6.266 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.872e-05/0.4058, allocations: 27.92 kB / 454.5 MB, free: 6.238 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006358/0.4064, allocations: 342.9 kB / 454.8 MB, free: 6.008 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000694/0.4071, allocations: 486.6 kB / 455.3 MB, free: 5.637 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4071, allocations: 0 / 455.3 MB, free: 5.637 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.4072, allocations: 9.812 kB / 455.3 MB, free: 5.629 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.4072, allocations: 0 / 455.3 MB, free: 5.629 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.4086, allocations: 0.8869 MB / 456.2 MB, free: 4.891 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.4092, allocations: 493.1 kB / 456.6 MB, free: 4.598 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.4097, allocations: 482.5 kB / 457.1 MB, free: 4.324 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.4098, allocations: 0 / 457.1 MB, free: 4.324 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007398/0.4105, allocations: 0.625 MB / 457.7 MB, free: 3.785 MB / 331.1 MB Notification: Performance of pre-optimization done (n=32): time 4.208e-06/0.4105, allocations: 3.984 kB / 457.7 MB, free: 3.781 MB / 331.1 MB Notification: Performance of matching and sorting (n=32): time 0.001291/0.4118, allocations: 0.8821 MB / 458.6 MB, free: 3.094 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002629/0.4121, allocations: 285.2 kB / 458.9 MB, free: 2.777 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.4133, allocations: 0.9759 MB / 459.9 MB, free: 1.973 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/0.4134, allocations: 41.45 kB / 459.9 MB, free: 1.93 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.826e-05/0.4135, allocations: 138.3 kB / 460.1 MB, free: 1.824 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.713e-05/0.4136, allocations: 76.97 kB / 460.1 MB, free: 1.762 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.4137, allocations: 12 kB / 460.1 MB, free: 1.75 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4138, allocations: 347.4 kB / 460.5 MB, free: 1.414 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004267/0.4142, allocations: 334.9 kB / 460.8 MB, free: 1.156 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.4147, allocations: 331.8 kB / 461.1 MB, free: 0.832 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.415, allocations: 238.1 kB / 461.4 MB, free: 0.6016 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.415, allocations: 0 / 461.4 MB, free: 0.6016 MB / 331.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001194/0.4162, allocations: 0.8328 MB / 462.2 MB, free: 15.76 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.4164, allocations: 247.9 kB / 462.4 MB, free: 15.48 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.4164, allocations: 0 / 462.4 MB, free: 15.48 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.4164, allocations: 4 kB / 462.4 MB, free: 15.47 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.656e-05/0.4165, allocations: 4 kB / 462.4 MB, free: 15.47 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.4165, allocations: 0 / 462.4 MB, free: 15.47 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.4168, allocations: 35.91 kB / 462.5 MB, free: 15.43 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.417, allocations: 132.4 kB / 462.6 MB, free: 15.3 MB / 347.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.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.0003765/0.4174, allocations: 405.8 kB / 463 MB, free: 14.86 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.4175, allocations: 90.97 kB / 463.1 MB, free: 14.77 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002311/0.4177, allocations: 152 kB / 463.2 MB, free: 14.62 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4177, allocations: 4 kB / 463.2 MB, free: 14.61 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4177, allocations: 0 / 463.2 MB, free: 14.61 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4177, allocations: 0 / 463.2 MB, free: 14.61 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4199, allocations: 1.588 MB / 464.8 MB, free: 12.98 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.4199, allocations: 0 / 464.8 MB, free: 12.98 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.4199, allocations: 11.98 kB / 464.8 MB, free: 12.97 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.4199, allocations: 0 / 464.8 MB, free: 12.97 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.548e-05/0.42, allocations: 39.97 kB / 464.9 MB, free: 12.93 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.42, allocations: 0 / 464.9 MB, free: 12.93 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.42, allocations: 0 / 464.9 MB, free: 12.93 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.4214, allocations: 1.064 MB / 465.9 MB, free: 11.85 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008137/0.4223, allocations: 0.5582 MB / 466.5 MB, free: 11.27 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001648/0.4225, allocations: 55.97 kB / 466.6 MB, free: 11.21 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.4228, allocations: 39.91 kB / 466.6 MB, free: 11.18 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004095/0.4232, allocations: 235.7 kB / 466.8 MB, free: 10.95 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.4234, allocations: 131.9 kB / 467 MB, free: 10.82 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.4245, allocations: 0.8109 MB / 467.8 MB, free: 10.01 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4245, allocations: 0 / 467.8 MB, free: 10.01 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004568/0.425, allocations: 116 kB / 467.9 MB, free: 9.898 MB / 347.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,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.0002705/0.4252, allocations: 181.7 kB / 468.1 MB, free: 9.711 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.4268, allocations: 1.488 MB / 469.5 MB, free: 8.137 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4268, allocations: 0 / 469.5 MB, free: 8.137 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.4279, allocations: 1.113 MB / 470.7 MB, free: 6.938 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.429, allocations: 264 kB / 470.9 MB, free: 6.68 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.4316, allocations: 1.684 MB / 472.6 MB, free: 4.969 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.4324, allocations: 1.038 MB / 473.6 MB, free: 3.898 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.4326, allocations: 39.45 kB / 473.7 MB, free: 3.863 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.4326, allocations: 19.38 kB / 473.7 MB, free: 3.844 MB / 347.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4326, allocations: 0 / 473.7 MB, free: 3.844 MB / 347.1 MB Notification: Performance of Templates: time 0.0167/0.4493, allocations: 12.24 MB / 485.9 MB, free: 7.363 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1)