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.0009309/0.0009307, allocations: 166.8 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.237/1.237, allocations: 170.7 MB / 178.7 MB, free: 15.58 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.001566/0.001566, allocations: 103.4 kB / 218 MB, free: 8.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.429e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06964/0.06967, allocations: 38.78 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/0.3487, allocations: 72.04 MB / 373 MB, free: 12.33 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.349, allocations: 66.16 kB / 373.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05424/0.4033, allocations: 29.94 MB / 403 MB, free: 3.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4033, allocations: 3.938 kB / 403 MB, free: 3.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.4033, allocations: 12 kB / 403 MB, free: 3.855 MB / 282.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.001291/0.4046, allocations: 1.302 MB / 404.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4047, allocations: 8.031 kB / 404.4 MB, free: 2.527 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.4049, allocations: 134.4 kB / 404.5 MB, free: 2.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.4055, allocations: 0.5178 MB / 405 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.4056, allocations: 19.36 kB / 405 MB, free: 1.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.4057, allocations: 27.44 kB / 405 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005713/0.4063, allocations: 444.4 kB / 405.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/0.407, allocations: 0.5753 MB / 406.1 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.4071, allocations: 3.984 kB / 406.1 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/0.4071, allocations: 13.33 kB / 406.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4071, allocations: 8 kB / 406.1 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.4087, allocations: 1.077 MB / 407.2 MB, free: 200 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.4094, allocations: 0.6726 MB / 407.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006855/0.4101, allocations: 0.653 MB / 408.5 MB, free: 15.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.4101, allocations: 4 kB / 408.5 MB, free: 15.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000877/0.411, allocations: 0.7251 MB / 409.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.411, allocations: 0 / 409.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001554/0.4126, allocations: 1.081 MB / 410.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.4128, allocations: 329 kB / 410.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.4147, allocations: 1.395 MB / 412 MB, free: 11.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.054e-05/0.4148, allocations: 45.62 kB / 412.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.415, allocations: 226.5 kB / 412.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4151, allocations: 79.11 kB / 412.4 MB, free: 11.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.4151, allocations: 11.98 kB / 412.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.4153, allocations: 370.7 kB / 412.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.4158, allocations: 431.8 kB / 413.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005157/0.4163, allocations: 431.8 kB / 413.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.4167, allocations: 284.5 kB / 413.8 MB, free: 9.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.4167, allocations: 3.938 kB / 413.9 MB, free: 9.551 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001374/0.4181, allocations: 1.004 MB / 414.9 MB, free: 8.539 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.4183, allocations: 297.5 kB / 415.1 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.4183, allocations: 0 / 415.1 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.4184, allocations: 0 / 415.1 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.385e-05/0.4184, allocations: 0 / 415.1 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4184, allocations: 4 kB / 415.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.4188, allocations: 47.86 kB / 415.2 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.419, allocations: 128.2 kB / 415.3 MB, free: 8.023 MB / 298.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.0004382/0.4194, allocations: 463.6 kB / 415.8 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.4196, allocations: 138.3 kB / 415.9 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004524/0.4201, allocations: 196.5 kB / 416.1 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4201, allocations: 3.938 kB / 416.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4201, allocations: 3.984 kB / 416.1 MB, free: 7.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4201, allocations: 8 kB / 416.1 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.4225, allocations: 1.924 MB / 418 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4225, allocations: 0 / 418 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.4226, allocations: 0 / 418 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4226, allocations: 0 / 418 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.159e-05/0.4226, allocations: 39.97 kB / 418.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4226, allocations: 0 / 418.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4227, allocations: 0 / 418.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.4242, allocations: 1.269 MB / 419.3 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008509/0.4251, allocations: 0.6552 MB / 420 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/0.4253, allocations: 55.91 kB / 420.1 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.4256, allocations: 43.89 kB / 420.1 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005438/0.4262, allocations: 371.6 kB / 420.5 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000151/0.4263, allocations: 135.9 kB / 420.6 MB, free: 2.594 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001392/0.4277, allocations: 1.146 MB / 421.7 MB, free: 1.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4277, allocations: 0 / 421.7 MB, free: 1.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004856/0.4282, allocations: 148 kB / 421.9 MB, free: 1.301 MB / 298.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.0002445/0.4285, allocations: 185.7 kB / 422.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.4303, allocations: 1.866 MB / 423.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4303, allocations: 0 / 423.9 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.4314, allocations: 1.397 MB / 425.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.4327, allocations: 315.5 kB / 425.6 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003198/0.4359, allocations: 2.334 MB / 428 MB, free: 10.97 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.4367, allocations: 1.173 MB / 429.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000153/0.4369, allocations: 46.23 kB / 429.2 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.4369, allocations: 19.44 kB / 429.2 MB, free: 9.707 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4369, allocations: 3.938 kB / 429.2 MB, free: 9.703 MB / 314.7 MB Notification: Performance of Templates: time 0.02017/0.4571, allocations: 14.25 MB / 443.5 MB, free: 11.06 MB / 330.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)