Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001029/0.001029, allocations: 182.4 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.468/1.468, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001632/0.001632, allocations: 112.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.036e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08492, allocations: 44.5 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4226, allocations: 78.03 MB / 427.5 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4229, allocations: 72.11 kB / 427.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05238/0.4753, allocations: 30.78 MB / 458.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4754, allocations: 0 / 458.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.843e-05/0.4754, allocations: 16 kB / 458.3 MB, free: 7.449 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.002082/0.4775, allocations: 1.311 MB / 459.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.271e-05/0.4776, allocations: 12.03 kB / 459.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.4779, allocations: 134.4 kB / 459.8 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/0.4788, allocations: 0.5157 MB / 460.3 MB, free: 5.445 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.104e-05/0.4789, allocations: 20.19 kB / 460.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/0.479, allocations: 32.06 kB / 460.3 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.48, allocations: 0.6112 MB / 461 MB, free: 4.938 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.48, allocations: 3.953 kB / 461 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.105e-05/0.4801, allocations: 18.94 kB / 461 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4801, allocations: 4 kB / 461 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.4807, allocations: 464.2 kB / 461.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/0.4828, allocations: 1.186 MB / 462.6 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007979/0.4836, allocations: 0.6882 MB / 463.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007019/0.4844, allocations: 0.6768 MB / 464 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.4844, allocations: 8 kB / 464 MB, free: 2.832 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008944/0.4853, allocations: 0.7374 MB / 464.7 MB, free: 2.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/0.4853, allocations: 4 kB / 464.7 MB, free: 2.199 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001857/0.4872, allocations: 1.409 MB / 466.1 MB, free: 1.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002014/0.4874, allocations: 337.2 kB / 466.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.4897, allocations: 1.622 MB / 468.1 MB, free: 15.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/0.4898, allocations: 39.64 kB / 468.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.49, allocations: 248.2 kB / 468.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4901, allocations: 77.89 kB / 468.5 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.4902, allocations: 15.38 kB / 468.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.4904, allocations: 380.2 kB / 468.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.491, allocations: 457.6 kB / 469.3 MB, free: 14.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.4915, allocations: 450.8 kB / 469.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.4922, allocations: 0.585 MB / 470.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4922, allocations: 4 kB / 470.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001706/0.4939, allocations: 1.341 MB / 471.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.4942, allocations: 293.5 kB / 471.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4942, allocations: 0 / 471.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4942, allocations: 0 / 471.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.926e-05/0.4942, allocations: 4 kB / 471.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4943, allocations: 4 kB / 472 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.4946, allocations: 47.83 kB / 472 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.4948, allocations: 128.2 kB / 472.1 MB, free: 11.61 MB / 330.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: 37 ($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,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,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,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,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 () * 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.0004181/0.4952, allocations: 463.7 kB / 472.6 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001633/0.4954, allocations: 138.4 kB / 472.7 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.4959, allocations: 256 kB / 473 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4959, allocations: 0 / 473 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4959, allocations: 0 / 473 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4959, allocations: 3.984 kB / 473 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003027/0.499, allocations: 2.411 MB / 475.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.499, allocations: 0 / 475.4 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.499, allocations: 7.938 kB / 475.4 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.499, allocations: 0 / 475.4 MB, free: 8.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/0.4991, allocations: 35.98 kB / 475.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4991, allocations: 0 / 475.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4991, allocations: 0 / 475.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.5013, allocations: 1.638 MB / 477.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/0.5025, allocations: 0.6747 MB / 477.7 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.5027, allocations: 63.95 kB / 477.8 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003762/0.5031, allocations: 39.97 kB / 477.8 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006451/0.5037, allocations: 379.6 kB / 478.2 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/0.5039, allocations: 124 kB / 478.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002159/0.5061, allocations: 1.339 MB / 479.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5061, allocations: 0 / 479.7 MB, free: 3.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005447/0.5067, allocations: 148 kB / 479.8 MB, free: 3.641 MB / 330.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) * 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.000305/0.507, allocations: 193.6 kB / 480 MB, free: 3.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002077/0.5091, allocations: 1.909 MB / 481.9 MB, free: 1.434 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5091, allocations: 4 kB / 481.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.5105, allocations: 1.432 MB / 483.3 MB, free: 15.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/0.5118, allocations: 303.7 kB / 483.6 MB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.5163, allocations: 2.51 MB / 486.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.5177, allocations: 1.227 MB / 487.4 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002013/0.5179, allocations: 45.42 kB / 487.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.5179, allocations: 15.44 kB / 487.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5179, allocations: 3.938 kB / 487.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of Templates: time 0.02525/0.5432, allocations: 15.19 MB / 0.4908 GB, free: 12.18 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1)