Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001001/0.001001, allocations: 169.9 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.27/1.27, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.00158/0.00158, allocations: 110.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.603e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07991/0.07995, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.3862, allocations: 72.75 MB / 380.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.3865, allocations: 70.72 kB / 380.4 MB, free: 3.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06871/0.4552, allocations: 37.81 MB / 418.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.4552, allocations: 0 / 418.3 MB, free: 3.672 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.4553, allocations: 20 kB / 418.3 MB, free: 3.652 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.00117/0.4565, allocations: 1.296 MB / 419.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.4565, allocations: 12.03 kB / 419.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.4567, allocations: 134.4 kB / 419.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006994/0.4574, allocations: 0.5132 MB / 420.2 MB, free: 1.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.99e-05/0.4574, allocations: 23.98 kB / 420.3 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.563e-05/0.4575, allocations: 28 kB / 420.3 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/0.4584, allocations: 0.6105 MB / 420.9 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4584, allocations: 3.938 kB / 420.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.4585, allocations: 19.98 kB / 420.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4585, allocations: 3.953 kB / 420.9 MB, free: 0.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000625/0.4592, allocations: 467.7 kB / 421.4 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.461, allocations: 1.12 MB / 422.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008373/0.4619, allocations: 0.6859 MB / 423.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007711/0.4627, allocations: 0.6686 MB / 423.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.4627, allocations: 4 kB / 423.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009409/0.4636, allocations: 0.7372 MB / 424.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.4636, allocations: 0 / 424.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.001915/0.4656, allocations: 1.388 MB / 426 MB, free: 11.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002084/0.4658, allocations: 340.9 kB / 426.3 MB, free: 11.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/0.4676, allocations: 1.459 MB / 427.8 MB, free: 9.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.4677, allocations: 45.69 kB / 427.8 MB, free: 9.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.4679, allocations: 222.5 kB / 428 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.468, allocations: 79.14 kB / 428.1 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.4681, allocations: 12 kB / 428.1 MB, free: 9.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4682, allocations: 370.7 kB / 428.5 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.4688, allocations: 447.8 kB / 428.9 MB, free: 8.656 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00057/0.4694, allocations: 452.2 kB / 429.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.47, allocations: 0.5717 MB / 429.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.47, allocations: 0 / 429.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001728/0.4717, allocations: 1.337 MB / 431.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.472, allocations: 293.5 kB / 431.6 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.472, allocations: 4 kB / 431.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.472, allocations: 0 / 431.6 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.054e-05/0.472, allocations: 3.984 kB / 431.6 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4721, allocations: 4 kB / 431.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003585/0.4724, allocations: 47.88 kB / 431.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.4726, allocations: 124.2 kB / 431.7 MB, free: 5.684 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.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.0003958/0.473, allocations: 467.6 kB / 432.2 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.4731, allocations: 134.4 kB / 432.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.4735, allocations: 204.2 kB / 432.5 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.4735, allocations: 4 kB / 432.5 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4735, allocations: 3.938 kB / 432.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4735, allocations: 0 / 432.5 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.4763, allocations: 2.306 MB / 434.8 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4763, allocations: 7.984 kB / 434.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-06/0.4763, allocations: 4 kB / 434.9 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.4763, allocations: 0 / 434.9 MB, free: 2.398 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.208e-05/0.4764, allocations: 31.98 kB / 434.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4764, allocations: 0 / 434.9 MB, free: 2.367 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4764, allocations: 7.938 kB / 434.9 MB, free: 2.359 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.4783, allocations: 1.626 MB / 436.5 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.4794, allocations: 0.6435 MB / 437.2 MB, free: 0 / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.4796, allocations: 63.95 kB / 437.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.4799, allocations: 35.91 kB / 437.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/0.4805, allocations: 383.5 kB / 437.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/0.4807, allocations: 131.9 kB / 437.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001787/0.4825, allocations: 1.219 MB / 439 MB, free: 14.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4825, allocations: 0 / 439 MB, free: 14.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005089/0.483, allocations: 144 kB / 439.1 MB, free: 14.04 MB / 330.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,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.0003043/0.4834, allocations: 189.7 kB / 439.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.4854, allocations: 1.905 MB / 441.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4854, allocations: 0 / 441.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.4867, allocations: 1.421 MB / 442.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.488, allocations: 305.5 kB / 442.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0036/0.4916, allocations: 2.355 MB / 445.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.4927, allocations: 1.177 MB / 446.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.4929, allocations: 37.5 kB / 446.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.4929, allocations: 15.44 kB / 446.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4929, allocations: 3.938 kB / 446.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of Templates: time 0.02147/0.5144, allocations: 14.7 MB / 461.2 MB, free: 7.293 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1)