Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001527/0.001527, allocations: 187.9 kB / 8.351 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.275/1.275, allocations: 194.3 MB / 203.1 MB, free: 9.312 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.001678/0.001678, allocations: 118.8 kB / 248.1 MB, free: 6.375 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.54e-05, allocations: 4 kB / 298.1 MB, free: 8.238 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.07732, allocations: 44.48 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.3542, allocations: 77.4 MB / 420 MB, free: 18.39 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.3545, allocations: 72.06 kB / 420 MB, free: 18.35 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06215/0.4166, allocations: 38.54 MB / 458.6 MB, free: 2.66 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4167, allocations: 4 kB / 458.6 MB, free: 2.656 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.4167, allocations: 16 kB / 458.6 MB, free: 2.641 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.001374/0.4181, allocations: 1.317 MB / 459.9 MB, free: 1.305 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.4181, allocations: 12.03 kB / 459.9 MB, free: 1.293 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.4183, allocations: 134.3 kB / 460.1 MB, free: 1.16 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006428/0.419, allocations: 0.5157 MB / 460.6 MB, free: 0.6328 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.968e-05/0.419, allocations: 19.94 kB / 460.6 MB, free: 0.6133 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.4191, allocations: 27.62 kB / 460.6 MB, free: 0.5898 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005689/0.4197, allocations: 447.3 kB / 461.1 MB, free: 296 kB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007807/0.4205, allocations: 0.5996 MB / 461.7 MB, free: 15.83 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4205, allocations: 0 / 461.7 MB, free: 15.83 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.778e-05/0.4205, allocations: 8 kB / 461.7 MB, free: 15.82 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.4206, allocations: 4 kB / 461.7 MB, free: 15.82 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.4223, allocations: 1.133 MB / 462.8 MB, free: 14.89 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.4231, allocations: 0.6711 MB / 463.5 MB, free: 14.52 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006853/0.4238, allocations: 0.663 MB / 464.1 MB, free: 13.91 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.4238, allocations: 0 / 464.1 MB, free: 13.91 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000857/0.4247, allocations: 0.7458 MB / 464.9 MB, free: 13.12 MB / 347.1 MB Notification: Performance of pre-optimization done (n=33): time 1.562e-06/0.4247, allocations: 0 / 464.9 MB, free: 13.12 MB / 347.1 MB Notification: Performance of matching and sorting (n=33): time 0.001707/0.4264, allocations: 1.092 MB / 466 MB, free: 12.02 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002166/0.4266, allocations: 329 kB / 466.3 MB, free: 11.64 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002231/0.4289, allocations: 1.558 MB / 467.9 MB, free: 10.07 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 7.741e-05/0.4289, allocations: 41.69 kB / 467.9 MB, free: 10.02 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.4292, allocations: 242.4 kB / 468.1 MB, free: 9.781 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4293, allocations: 75.2 kB / 468.2 MB, free: 9.707 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.4294, allocations: 16 kB / 468.2 MB, free: 9.691 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.4296, allocations: 382.7 kB / 468.6 MB, free: 9.309 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006094/0.4302, allocations: 443.8 kB / 469 MB, free: 8.875 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005517/0.4308, allocations: 435.8 kB / 469.4 MB, free: 8.449 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.4311, allocations: 288.9 kB / 469.7 MB, free: 8.168 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4311, allocations: 0 / 469.7 MB, free: 8.168 MB / 347.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00146/0.4326, allocations: 1.035 MB / 470.8 MB, free: 7.125 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/0.4329, allocations: 294.5 kB / 471.1 MB, free: 6.789 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4329, allocations: 0 / 471.1 MB, free: 6.789 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4329, allocations: 3.953 kB / 471.1 MB, free: 6.785 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.626e-05/0.4329, allocations: 4 kB / 471.1 MB, free: 6.781 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4329, allocations: 4 kB / 471.1 MB, free: 6.777 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/0.4333, allocations: 43.91 kB / 471.1 MB, free: 6.734 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.4335, allocations: 124.7 kB / 471.2 MB, free: 6.613 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.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.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.0004587/0.434, allocations: 463.5 kB / 471.7 MB, free: 6.105 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.4341, allocations: 138.4 kB / 471.8 MB, free: 5.969 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.4346, allocations: 256.3 kB / 472.1 MB, free: 5.719 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4346, allocations: 0 / 472.1 MB, free: 5.719 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4346, allocations: 3.953 kB / 472.1 MB, free: 5.715 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4346, allocations: 4 kB / 472.1 MB, free: 5.711 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.4372, allocations: 2.009 MB / 474.1 MB, free: 3.652 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4372, allocations: 3.938 kB / 474.1 MB, free: 3.648 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-05/0.4372, allocations: 4 kB / 474.1 MB, free: 3.645 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4372, allocations: 0 / 474.1 MB, free: 3.645 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.95e-05/0.4373, allocations: 39.97 kB / 474.1 MB, free: 3.605 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4373, allocations: 3.953 kB / 474.1 MB, free: 3.602 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4373, allocations: 4 kB / 474.1 MB, free: 3.598 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.439, allocations: 1.273 MB / 475.4 MB, free: 2.305 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009599/0.44, allocations: 0.6708 MB / 476.1 MB, free: 1.613 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001751/0.4401, allocations: 59.95 kB / 476.1 MB, free: 1.555 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003474/0.4405, allocations: 43.88 kB / 476.2 MB, free: 1.512 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005611/0.4411, allocations: 383.5 kB / 476.6 MB, free: 1.137 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/0.4412, allocations: 128 kB / 476.7 MB, free: 1.012 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.00178/0.443, allocations: 1.275 MB / 478 MB, free: 15.73 MB / 363.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.443, allocations: 4 kB / 478 MB, free: 15.73 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0005292/0.4436, allocations: 140 kB / 478.1 MB, free: 15.59 MB / 363.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,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.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.0002558/0.4438, allocations: 181.7 kB / 478.3 MB, free: 15.41 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.00196/0.4458, allocations: 1.881 MB / 480.2 MB, free: 13.43 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4458, allocations: 0 / 480.2 MB, free: 13.43 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4471, allocations: 1.409 MB / 481.6 MB, free: 11.92 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.4484, allocations: 294.5 kB / 481.9 MB, free: 11.63 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.4522, allocations: 2.492 MB / 484.3 MB, free: 9.105 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.4533, allocations: 1.228 MB / 485.6 MB, free: 7.848 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0002184/0.4536, allocations: 37.81 kB / 485.6 MB, free: 7.809 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.4536, allocations: 15.44 kB / 485.6 MB, free: 7.797 MB / 363.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4536, allocations: 0 / 485.6 MB, free: 7.797 MB / 363.1 MB Notification: Performance of Templates: time 0.01949/0.4731, allocations: 14.79 MB / 0.4887 GB, free: 8.66 MB / 379.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1)