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.001007/0.001008, allocations: 187.7 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.288/1.288, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001707/0.001707, allocations: 121.5 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.521e-05, allocations: 4 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07771/0.07774, allocations: 44.51 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2701/0.3479, allocations: 77.35 MB / 419.9 MB, free: 18.45 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.3481, allocations: 69.08 kB / 420 MB, free: 18.41 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04949/0.3977, allocations: 30.58 MB / 450.6 MB, free: 9.496 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3977, allocations: 0 / 450.6 MB, free: 9.496 MB / 331.1 MB Notification: Performance of Transformations before backend: time 3.508e-05/0.3977, allocations: 16 kB / 450.6 MB, free: 9.48 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001488/0.3992, allocations: 1.321 MB / 451.9 MB, free: 8.141 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3993, allocations: 12.03 kB / 451.9 MB, free: 8.129 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.3995, allocations: 130.4 kB / 452.1 MB, free: 8 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007096/0.4002, allocations: 0.5125 MB / 452.6 MB, free: 7.473 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.4003, allocations: 23.67 kB / 452.6 MB, free: 7.453 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.4003, allocations: 28 kB / 452.6 MB, free: 7.426 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006147/0.401, allocations: 445.3 kB / 453.1 MB, free: 7.129 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.4018, allocations: 0.5941 MB / 453.6 MB, free: 6.68 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4018, allocations: 0 / 453.6 MB, free: 6.68 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.4018, allocations: 11.98 kB / 453.7 MB, free: 6.668 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4018, allocations: 4 kB / 453.7 MB, free: 6.664 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.4035, allocations: 1.135 MB / 454.8 MB, free: 5.734 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.4042, allocations: 0.6767 MB / 455.5 MB, free: 5.348 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006866/0.4049, allocations: 0.6622 MB / 456.1 MB, free: 4.984 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.405, allocations: 0 / 456.1 MB, free: 4.984 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008704/0.4058, allocations: 0.7423 MB / 456.9 MB, free: 4.355 MB / 331.1 MB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.4059, allocations: 0 / 456.9 MB, free: 4.355 MB / 331.1 MB Notification: Performance of matching and sorting (n=33): time 0.00164/0.4075, allocations: 1.096 MB / 458 MB, free: 3.504 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002054/0.4077, allocations: 327.9 kB / 458.3 MB, free: 3.141 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.4101, allocations: 1.56 MB / 459.9 MB, free: 1.852 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 8.171e-05/0.4102, allocations: 41.2 kB / 459.9 MB, free: 1.809 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.4104, allocations: 250.8 kB / 460.1 MB, free: 1.652 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4105, allocations: 73.73 kB / 460.2 MB, free: 1.59 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/0.4106, allocations: 11.44 kB / 460.2 MB, free: 1.582 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4108, allocations: 387.5 kB / 460.6 MB, free: 1.215 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/0.4113, allocations: 432.2 kB / 461 MB, free: 0.9219 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000552/0.4119, allocations: 443.8 kB / 461.5 MB, free: 500 kB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.4123, allocations: 292.9 kB / 461.7 MB, free: 208 kB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.4123, allocations: 0 / 461.7 MB, free: 208 kB / 331.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001466/0.4138, allocations: 1.027 MB / 462.8 MB, free: 15.17 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002226/0.414, allocations: 297.5 kB / 463.1 MB, free: 14.83 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.414, allocations: 0 / 463.1 MB, free: 14.83 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4141, allocations: 0 / 463.1 MB, free: 14.83 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.566e-05/0.4141, allocations: 0 / 463.1 MB, free: 14.83 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4141, allocations: 4 kB / 463.1 MB, free: 14.82 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.4145, allocations: 43.86 kB / 463.1 MB, free: 14.78 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.4147, allocations: 132.6 kB / 463.2 MB, free: 14.65 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: 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.0004447/0.4151, allocations: 467.4 kB / 463.7 MB, free: 14.14 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.4153, allocations: 134.4 kB / 463.8 MB, free: 14.01 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005781/0.4159, allocations: 248.3 kB / 464.1 MB, free: 13.77 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.4159, allocations: 0 / 464.1 MB, free: 13.77 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4159, allocations: 0 / 464.1 MB, free: 13.77 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4159, allocations: 11.98 kB / 464.1 MB, free: 13.75 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.4186, allocations: 2.013 MB / 466.1 MB, free: 11.69 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4186, allocations: 0 / 466.1 MB, free: 11.69 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.4186, allocations: 8 kB / 466.1 MB, free: 11.68 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4187, allocations: 0 / 466.1 MB, free: 11.68 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.302e-05/0.4187, allocations: 31.98 kB / 466.1 MB, free: 11.65 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4187, allocations: 0 / 466.1 MB, free: 11.65 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4188, allocations: 4 kB / 466.1 MB, free: 11.65 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.4205, allocations: 1.285 MB / 467.4 MB, free: 10.34 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/0.4216, allocations: 0.6746 MB / 468.1 MB, free: 9.648 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001892/0.4218, allocations: 51.97 kB / 468.1 MB, free: 9.598 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/0.4222, allocations: 51.89 kB / 468.2 MB, free: 9.547 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006439/0.4229, allocations: 371.6 kB / 468.6 MB, free: 9.184 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/0.4231, allocations: 131.9 kB / 468.7 MB, free: 9.055 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.001984/0.4251, allocations: 1.267 MB / 470 MB, free: 7.785 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4251, allocations: 0 / 470 MB, free: 7.785 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0005809/0.4257, allocations: 148 kB / 470.1 MB, free: 7.641 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: 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.0002987/0.426, allocations: 189.7 kB / 470.3 MB, free: 7.445 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.001938/0.4279, allocations: 1.874 MB / 472.2 MB, free: 5.473 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4279, allocations: 0 / 472.2 MB, free: 5.473 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.4293, allocations: 1.413 MB / 473.6 MB, free: 3.961 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.4306, allocations: 302.4 kB / 473.9 MB, free: 3.668 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.4346, allocations: 2.491 MB / 476.4 MB, free: 1.141 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.4358, allocations: 1.224 MB / 477.6 MB, free: 15.89 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.4361, allocations: 38.8 kB / 477.6 MB, free: 15.85 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.4361, allocations: 19.44 kB / 477.6 MB, free: 15.83 MB / 363.1 MB Notification: Performance of SimCode: time 2.645e-06/0.4361, allocations: 0 / 477.6 MB, free: 15.83 MB / 363.1 MB Notification: Performance of Templates: time 0.01968/0.4558, allocations: 14.78 MB / 492.4 MB, free: 0.6992 MB / 363.1 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)