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.001038/0.001038, allocations: 179.6 kB / 16.38 MB, free: 5.762 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.219/1.219, allocations: 194.5 MB / 211.6 MB, free: 3.031 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.001553/0.001552, allocations: 108.4 kB / 256.9 MB, free: 4.375 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003301, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07837/0.07871, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2328/0.3115, allocations: 78.1 MB / 433.2 MB, free: 11.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.3118, allocations: 75.02 kB / 433.2 MB, free: 11.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05036/0.3621, allocations: 30.61 MB / 463.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3622, allocations: 0 / 463.8 MB, free: 15.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.407e-05/0.3622, allocations: 16 kB / 463.9 MB, free: 15.52 MB / 346.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.001589/0.3638, allocations: 1.523 MB / 465.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3639, allocations: 8.031 kB / 465.4 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.364, allocations: 138.4 kB / 465.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007605/0.3648, allocations: 0.5055 MB / 466 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.3649, allocations: 20 kB / 466.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.3649, allocations: 31.98 kB / 466.1 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009691/0.3659, allocations: 0.6144 MB / 466.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3659, allocations: 3.953 kB / 466.7 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.366, allocations: 19.94 kB / 466.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.366, allocations: 4 kB / 466.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.3667, allocations: 495.2 kB / 467.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.3686, allocations: 1.17 MB / 468.4 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008498/0.3695, allocations: 0.7092 MB / 469.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.3695, allocations: 0 / 469.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009335/0.3704, allocations: 0.7407 MB / 469.8 MB, free: 9.289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.3704, allocations: 4 kB / 469.8 MB, free: 9.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.002774/0.3732, allocations: 2.132 MB / 472 MB, free: 7.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002007/0.3734, allocations: 336.9 kB / 472.3 MB, free: 6.652 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.3757, allocations: 1.636 MB / 473.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/0.3758, allocations: 45.69 kB / 474 MB, free: 4.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.376, allocations: 242.3 kB / 474.2 MB, free: 4.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3762, allocations: 87.14 kB / 474.3 MB, free: 4.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.3762, allocations: 8 kB / 474.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3764, allocations: 382.7 kB / 474.7 MB, free: 4.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007021/0.3771, allocations: 451.7 kB / 475.1 MB, free: 3.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.3779, allocations: 490.2 kB / 475.6 MB, free: 3.305 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007539/0.3787, allocations: 0.5833 MB / 476.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3787, allocations: 0 / 476.2 MB, free: 2.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002126/0.3808, allocations: 1.367 MB / 477.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002565/0.3811, allocations: 289.5 kB / 477.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3811, allocations: 0 / 477.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3811, allocations: 0 / 477.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.705e-05/0.3812, allocations: 15.98 kB / 477.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3812, allocations: 0 / 477.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.3816, allocations: 43.88 kB / 477.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.3818, allocations: 136.1 kB / 478 MB, free: 0.7266 MB / 346.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.001544/0.3834, allocations: 0.9842 MB / 479 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.3836, allocations: 130.5 kB / 479.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/0.3843, allocations: 251.9 kB / 479.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3843, allocations: 4 kB / 479.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3843, allocations: 3.938 kB / 479.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.3843, allocations: 7.969 kB / 479.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.3879, allocations: 2.423 MB / 481.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3879, allocations: 0 / 481.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.3879, allocations: 0 / 481.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3879, allocations: 0 / 481.8 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.396e-05/0.388, allocations: 31.98 kB / 481.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.388, allocations: 11.94 kB / 481.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3881, allocations: 0 / 481.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.3901, allocations: 1.65 MB / 483.5 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.3913, allocations: 0.6708 MB / 484.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.3915, allocations: 59.97 kB / 484.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.3919, allocations: 47.86 kB / 484.3 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005708/0.3925, allocations: 375.6 kB / 484.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000149/0.3926, allocations: 128 kB / 484.8 MB, free: 9.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002245/0.3949, allocations: 1.345 MB / 486.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3949, allocations: 0 / 486.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005961/0.3955, allocations: 156 kB / 486.3 MB, free: 8.199 MB / 362.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.0002423/0.3957, allocations: 185.6 kB / 486.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002147/0.3979, allocations: 1.944 MB / 488.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3979, allocations: 0 / 488.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.3992, allocations: 1.436 MB / 489.8 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.4003, allocations: 295.9 kB / 490.1 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.4053, allocations: 3.142 MB / 493.3 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.4067, allocations: 1.231 MB / 494.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001835/0.4069, allocations: 44.44 kB / 494.5 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.4069, allocations: 15.44 kB / 494.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4069, allocations: 4 kB / 494.6 MB, free: 15.65 MB / 378.7 MB Notification: Performance of Templates: time 0.02101/0.4279, allocations: 15.23 MB / 0.4978 GB, free: 60 kB / 378.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)