Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009104/0.009104, allocations: 164.8 kB / 15.11 MB, free: 6.039 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.479/1.479, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001536/0.001536, allocations: 105.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002985, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1974, allocations: 38.77 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09368/0.2911, allocations: 72.79 MB / 385.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.2914, allocations: 71.91 kB / 385.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05768/0.349, allocations: 29.97 MB / 415.7 MB, free: 3.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3491, allocations: 3.938 kB / 415.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.587e-05/0.3492, allocations: 16 kB / 415.7 MB, free: 3.711 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001963/0.3511, allocations: 1.496 MB / 417.2 MB, free: 2.109 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.3512, allocations: 8.031 kB / 417.2 MB, free: 2.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.3514, allocations: 134.4 kB / 417.4 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008092/0.3522, allocations: 0.5133 MB / 417.9 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.3523, allocations: 27.88 kB / 417.9 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.3524, allocations: 31.98 kB / 417.9 MB, free: 1.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.3534, allocations: 0.6221 MB / 418.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.3534, allocations: 0 / 418.6 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.3535, allocations: 12 kB / 418.6 MB, free: 0.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3535, allocations: 7.953 kB / 418.6 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.3542, allocations: 467.7 kB / 419 MB, free: 248 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1379/0.4922, allocations: 1.115 MB / 420.2 MB, free: 84.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.4933, allocations: 0.6926 MB / 420.9 MB, free: 84.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.4933, allocations: 9.891 kB / 420.9 MB, free: 84.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000841/0.4941, allocations: 0.7328 MB / 421.6 MB, free: 84.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 3.707e-06/0.4942, allocations: 0 / 421.6 MB, free: 84.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.002536/0.4967, allocations: 2.113 MB / 423.7 MB, free: 83.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.4969, allocations: 330.4 kB / 424 MB, free: 83.6 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/0.4988, allocations: 1.482 MB / 425.5 MB, free: 83.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/0.4989, allocations: 44.88 kB / 425.6 MB, free: 83.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.499, allocations: 225.9 kB / 425.8 MB, free: 83.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.419e-05/0.4991, allocations: 81.56 kB / 425.9 MB, free: 83.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.4992, allocations: 12.66 kB / 425.9 MB, free: 83.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.709e-05/0.4993, allocations: 364.7 kB / 426.2 MB, free: 82.83 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/0.4999, allocations: 451.3 kB / 426.7 MB, free: 82.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.5005, allocations: 477.8 kB / 427.1 MB, free: 82.8 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005732/0.5011, allocations: 0.5782 MB / 427.7 MB, free: 82.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.5011, allocations: 1.438 kB / 427.7 MB, free: 82.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001735/0.5028, allocations: 1.34 MB / 429.1 MB, free: 82.14 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.503, allocations: 295 kB / 429.3 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.503, allocations: 1.406 kB / 429.3 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.503, allocations: 2.156 kB / 429.3 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.658e-05/0.503, allocations: 7.031 kB / 429.4 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5031, allocations: 4.906 kB / 429.4 MB, free: 81.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.5035, allocations: 51.72 kB / 429.4 MB, free: 81.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.5036, allocations: 125.4 kB / 429.5 MB, free: 81.85 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 37 ($PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 8 * 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.0009388/0.5046, allocations: 0.9432 MB / 430.5 MB, free: 81.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5047, allocations: 127.9 kB / 430.6 MB, free: 81.23 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.505, allocations: 197.9 kB / 430.8 MB, free: 81.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.505, allocations: 0 / 430.8 MB, free: 81.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.505, allocations: 0 / 430.8 MB, free: 81.14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.505, allocations: 0 / 430.8 MB, free: 81.14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.5074, allocations: 2.341 MB / 433.1 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5074, allocations: 0 / 433.1 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/0.5074, allocations: 3.938 kB / 433.1 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.5074, allocations: 2.766 kB / 433.1 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.5075, allocations: 33.72 kB / 433.2 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.5075, allocations: 7.25 kB / 433.2 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5075, allocations: 2.719 kB / 433.2 MB, free: 79.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.5091, allocations: 1.647 MB / 434.8 MB, free: 79.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009048/0.5101, allocations: 0.6492 MB / 435.5 MB, free: 78.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/0.5102, allocations: 56 kB / 435.5 MB, free: 78.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.5105, allocations: 43.28 kB / 435.6 MB, free: 78.74 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004781/0.511, allocations: 374.9 kB / 435.9 MB, free: 78.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.5112, allocations: 139.1 kB / 436.1 MB, free: 78.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001298/0.5125, allocations: 1.223 MB / 437.3 MB, free: 78.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5125, allocations: 7.5 kB / 437.3 MB, free: 78.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004732/0.513, allocations: 149.1 kB / 437.5 MB, free: 78.16 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * 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.0001952/0.5132, allocations: 185.2 kB / 437.6 MB, free: 78.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.5148, allocations: 1.916 MB / 439.5 MB, free: 76.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5148, allocations: 0 / 439.5 MB, free: 76.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.5158, allocations: 1.439 MB / 441 MB, free: 75.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.5167, allocations: 294.9 kB / 441.3 MB, free: 75.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.5205, allocations: 2.985 MB / 444.3 MB, free: 74.46 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007469/0.5213, allocations: 1.178 MB / 445.4 MB, free: 73.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001909/0.5215, allocations: 35.92 kB / 445.5 MB, free: 73.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.5215, allocations: 15.44 kB / 445.5 MB, free: 73.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5216, allocations: 0 / 445.5 MB, free: 73.48 MB / 314.7 MB Notification: Performance of Templates: time 0.01618/0.5377, allocations: 14.76 MB / 460.3 MB, free: 59.57 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1)