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.001472/0.001471, allocations: 170.2 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.233/1.233, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001477/0.001477, allocations: 102.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.347e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07499/0.07504, allocations: 38.76 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3267/0.4018, allocations: 72.7 MB / 380.3 MB, free: 3.492 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4022, allocations: 70.39 kB / 380.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09647/0.4987, allocations: 30.12 MB / 410.5 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.841e-06/0.4987, allocations: 4 kB / 410.5 MB, free: 10.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.486e-05/0.4988, allocations: 12 kB / 410.5 MB, free: 10.25 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001885/0.5007, allocations: 1.302 MB / 411.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.5008, allocations: 12.03 kB / 411.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.5011, allocations: 130.4 kB / 412 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.5022, allocations: 0.5117 MB / 412.5 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.5023, allocations: 26.69 kB / 412.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.5024, allocations: 31.92 kB / 412.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.5039, allocations: 0.6069 MB / 413.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5039, allocations: 0 / 413.2 MB, free: 7.754 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.032e-05/0.504, allocations: 14.88 kB / 413.2 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5041, allocations: 3.953 kB / 413.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.5051, allocations: 469.7 kB / 413.6 MB, free: 7.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.5077, allocations: 1.12 MB / 414.8 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.509, allocations: 0.6925 MB / 415.4 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.5102, allocations: 0.6744 MB / 416.1 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.5103, allocations: 4 kB / 416.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.5118, allocations: 0.7318 MB / 416.9 MB, free: 4.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 5.1e-06/0.5118, allocations: 0 / 416.9 MB, free: 4.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.003049/0.5149, allocations: 1.402 MB / 418.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002893/0.5152, allocations: 325 kB / 418.6 MB, free: 3.094 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003305/0.5185, allocations: 1.459 MB / 420 MB, free: 1.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.5186, allocations: 45.69 kB / 420.1 MB, free: 1.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.5189, allocations: 230.4 kB / 420.3 MB, free: 1.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.5191, allocations: 75.2 kB / 420.4 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.45e-05/0.5192, allocations: 19.92 kB / 420.4 MB, free: 1.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.5194, allocations: 370.7 kB / 420.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.5204, allocations: 447.8 kB / 421.2 MB, free: 448 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007746/0.5212, allocations: 460.2 kB / 421.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.522, allocations: 0.5677 MB / 422.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.522, allocations: 0 / 422.2 MB, free: 15.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002018/0.524, allocations: 1.322 MB / 423.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000295/0.5243, allocations: 296.8 kB / 423.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5243, allocations: 0 / 423.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5244, allocations: 0 / 423.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-05/0.5244, allocations: 3.938 kB / 423.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.5244, allocations: 4 kB / 423.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.5249, allocations: 47.88 kB / 423.9 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/0.5251, allocations: 124.2 kB / 424 MB, free: 13.48 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: 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.0004865/0.5256, allocations: 463.6 kB / 424.5 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.5258, allocations: 138.3 kB / 424.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.5263, allocations: 200.2 kB / 424.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5263, allocations: 4 kB / 424.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5263, allocations: 4 kB / 424.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5263, allocations: 7.984 kB / 424.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0034/0.5297, allocations: 2.306 MB / 427.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5297, allocations: 0 / 427.1 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-05/0.5298, allocations: 11.88 kB / 427.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.5298, allocations: 0 / 427.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/0.5299, allocations: 39.97 kB / 427.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5299, allocations: 0 / 427.2 MB, free: 10.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5299, allocations: 4 kB / 427.2 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.5322, allocations: 1.622 MB / 428.8 MB, free: 8.453 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.5335, allocations: 0.6474 MB / 429.4 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/0.5337, allocations: 59.97 kB / 429.5 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003858/0.534, allocations: 35.95 kB / 429.5 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006744/0.5347, allocations: 379.6 kB / 429.9 MB, free: 7.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.5349, allocations: 135.9 kB / 430 MB, free: 7.188 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001993/0.5369, allocations: 1.215 MB / 431.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5369, allocations: 0 / 431.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005658/0.5375, allocations: 144 kB / 431.4 MB, free: 5.828 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) * 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.0002786/0.5378, allocations: 193.6 kB / 431.6 MB, free: 5.625 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.5399, allocations: 1.905 MB / 433.5 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5399, allocations: 0 / 433.5 MB, free: 3.621 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.5412, allocations: 1.421 MB / 434.9 MB, free: 2.102 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.5424, allocations: 304.3 kB / 435.2 MB, free: 1.805 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.5458, allocations: 2.346 MB / 437.5 MB, free: 15.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/0.5466, allocations: 1.18 MB / 438.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001675/0.5468, allocations: 45.97 kB / 438.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.5469, allocations: 15.44 kB / 438.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5469, allocations: 0 / 438.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Templates: time 0.01992/0.5668, allocations: 14.69 MB / 453.5 MB, free: 15.08 MB / 346.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)