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.001575/0.001575, allocations: 171.3 kB / 7.638 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.233/1.233, allocations: 170.6 MB / 178.7 MB, free: 15.66 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.001606/0.001606, allocations: 111.4 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.563e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08097, allocations: 38.79 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2766/0.3576, allocations: 72.08 MB / 373.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3579, allocations: 71.39 kB / 373.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06656/0.4245, allocations: 37.59 MB / 410.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4245, allocations: 0 / 410.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.082e-05/0.4246, allocations: 16 kB / 410.7 MB, free: 13.01 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.001309/0.4259, allocations: 1.288 MB / 412 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.4259, allocations: 12.03 kB / 412 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.4261, allocations: 138.4 kB / 412.2 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.4268, allocations: 0.5132 MB / 412.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.4269, allocations: 23.98 kB / 412.7 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.733e-05/0.427, allocations: 24 kB / 412.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006001/0.4276, allocations: 443.8 kB / 413.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.4284, allocations: 0.5755 MB / 413.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4284, allocations: 0 / 413.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.4285, allocations: 15.95 kB / 413.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4285, allocations: 0 / 413.8 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.4306, allocations: 1.09 MB / 414.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.4315, allocations: 0.6664 MB / 415.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007549/0.4322, allocations: 0.657 MB / 416.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.4323, allocations: 7.875 kB / 416.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008722/0.4331, allocations: 0.7297 MB / 416.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.4331, allocations: 0 / 416.9 MB, free: 6.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001777/0.4349, allocations: 1.069 MB / 418 MB, free: 5.512 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002068/0.4352, allocations: 329 kB / 418.3 MB, free: 5.129 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.4371, allocations: 1.407 MB / 419.7 MB, free: 3.711 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/0.4372, allocations: 41.69 kB / 419.7 MB, free: 3.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.4375, allocations: 226.5 kB / 420 MB, free: 3.438 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4376, allocations: 71.17 kB / 420 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.4376, allocations: 15.98 kB / 420.1 MB, free: 3.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.4378, allocations: 370.7 kB / 420.4 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/0.4384, allocations: 427.8 kB / 420.8 MB, free: 2.562 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.4389, allocations: 431.8 kB / 421.3 MB, free: 2.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.4393, allocations: 284.5 kB / 421.5 MB, free: 1.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4393, allocations: 0 / 421.5 MB, free: 1.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001398/0.4407, allocations: 1.019 MB / 422.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002388/0.4409, allocations: 297.5 kB / 422.8 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.4409, allocations: 3.938 kB / 422.8 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.441, allocations: 0 / 422.8 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.045e-05/0.441, allocations: 0 / 422.8 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.441, allocations: 0 / 422.8 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.4414, allocations: 43.86 kB / 422.9 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.4416, allocations: 136.2 kB / 423 MB, free: 324 kB / 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.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.0004299/0.442, allocations: 463.7 kB / 423.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.4422, allocations: 134.4 kB / 423.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003803/0.4426, allocations: 196.5 kB / 423.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4426, allocations: 3.984 kB / 423.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.4426, allocations: 3.984 kB / 423.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4426, allocations: 0 / 423.8 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002388/0.445, allocations: 1.928 MB / 425.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.445, allocations: 0 / 425.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.445, allocations: 0 / 425.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.445, allocations: 0 / 425.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.4451, allocations: 39.97 kB / 425.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4451, allocations: 0 / 425.8 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4451, allocations: 4 kB / 425.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.4468, allocations: 1.273 MB / 427.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009271/0.4477, allocations: 0.6474 MB / 427.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.4479, allocations: 55.97 kB / 427.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00034/0.4482, allocations: 39.95 kB / 427.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005485/0.4488, allocations: 375.6 kB / 428.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.4489, allocations: 135.9 kB / 428.3 MB, free: 10.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001499/0.4505, allocations: 1.143 MB / 429.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.4505, allocations: 0 / 429.4 MB, free: 9.754 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005418/0.451, allocations: 152 kB / 429.6 MB, free: 9.605 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,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.000256/0.4513, allocations: 181.7 kB / 429.8 MB, free: 9.422 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.453, allocations: 1.866 MB / 431.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4531, allocations: 0 / 431.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4542, allocations: 1.398 MB / 433 MB, free: 5.961 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.4555, allocations: 310.3 kB / 433.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.4589, allocations: 2.334 MB / 435.7 MB, free: 3.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/0.4598, allocations: 1.18 MB / 436.8 MB, free: 2.078 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.4599, allocations: 41.75 kB / 436.9 MB, free: 2.035 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.46, allocations: 15.44 kB / 436.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.46, allocations: 0 / 436.9 MB, free: 2.02 MB / 314.7 MB Notification: Performance of Templates: time 0.01878/0.4788, allocations: 14.26 MB / 451.2 MB, free: 3.367 MB / 330.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)