Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.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.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 181.6 kB / 13.64 MB, free: 1.676 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.303/1.303, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001612/0.001612, allocations: 120.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.816e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07769/0.07774, allocations: 44.49 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3007/0.3785, allocations: 77.75 MB / 427.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.3788, allocations: 63.56 kB / 427.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05679/0.4356, allocations: 33.41 MB / 460.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4356, allocations: 0 / 460.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.754e-05/0.4357, allocations: 8 kB / 460.7 MB, free: 5.703 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001221/0.4369, allocations: 0.9967 MB / 461.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.437, allocations: 12.03 kB / 461.7 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.4371, allocations: 86.97 kB / 461.8 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005526/0.4377, allocations: 410.7 kB / 462.2 MB, free: 4.156 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.4377, allocations: 21.19 kB / 462.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.4378, allocations: 27.55 kB / 462.2 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.4385, allocations: 0.5015 MB / 462.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.4385, allocations: 0 / 462.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.064e-05/0.4386, allocations: 14.8 kB / 462.7 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.4386, allocations: 4 kB / 462.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.4391, allocations: 351 kB / 463.1 MB, free: 3.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.4405, allocations: 0.9205 MB / 464 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.4411, allocations: 0.4949 MB / 464.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.4416, allocations: 490 kB / 465 MB, free: 2.113 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.4416, allocations: 7.938 kB / 465 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007318/0.4423, allocations: 0.6322 MB / 465.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.783e-06/0.4423, allocations: 0 / 465.6 MB, free: 1.555 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001566/0.4439, allocations: 1.136 MB / 466.7 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/0.4441, allocations: 280.4 kB / 467 MB, free: 284 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.4455, allocations: 1.025 MB / 468 MB, free: 15.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.4456, allocations: 37.58 kB / 468.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4457, allocations: 151.4 kB / 468.2 MB, free: 15.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.579e-05/0.4458, allocations: 73.09 kB / 468.3 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.4458, allocations: 15.17 kB / 468.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.446, allocations: 338.6 kB / 468.6 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004454/0.4464, allocations: 344.6 kB / 469 MB, free: 14.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.4469, allocations: 344.2 kB / 469.3 MB, free: 14.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.4474, allocations: 0.4887 MB / 469.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4474, allocations: 0 / 469.8 MB, free: 13.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00147/0.4488, allocations: 1.089 MB / 470.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.449, allocations: 251.9 kB / 471.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.449, allocations: 0 / 471.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4491, allocations: 3.984 kB / 471.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.843e-05/0.4491, allocations: 3.938 kB / 471.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.4491, allocations: 7.938 kB / 471.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003132/0.4494, allocations: 31.97 kB / 471.2 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/0.4496, allocations: 127.9 kB / 471.3 MB, free: 12.46 MB / 330.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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0003588/0.45, allocations: 418 kB / 471.7 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.4501, allocations: 90.97 kB / 471.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.4504, allocations: 143.7 kB / 471.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.4504, allocations: 4 kB / 471.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.4505, allocations: 3.938 kB / 471.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4505, allocations: 0 / 471.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002585/0.4531, allocations: 1.927 MB / 473.9 MB, free: 9.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4531, allocations: 4 kB / 473.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.4531, allocations: 0 / 473.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4531, allocations: 0 / 473.9 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.4532, allocations: 35.97 kB / 473.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4532, allocations: 11.94 kB / 473.9 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4532, allocations: 0 / 473.9 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.4549, allocations: 1.365 MB / 475.3 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008794/0.4558, allocations: 0.5621 MB / 475.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.4559, allocations: 55.97 kB / 475.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.4563, allocations: 35.97 kB / 475.9 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003927/0.4567, allocations: 235.7 kB / 476.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/0.4568, allocations: 127.9 kB / 476.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001186/0.458, allocations: 0.8537 MB / 477.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4581, allocations: 0 / 477.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004709/0.4585, allocations: 127.9 kB / 477.3 MB, free: 6.246 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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.0002669/0.4588, allocations: 192.4 kB / 477.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.4605, allocations: 1.507 MB / 479 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4605, allocations: 0 / 479 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009725/0.4615, allocations: 1.144 MB / 480.1 MB, free: 3.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4625, allocations: 257 kB / 480.4 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002946/0.4655, allocations: 1.712 MB / 482.1 MB, free: 1.234 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009792/0.4665, allocations: 1.031 MB / 483.1 MB, free: 180 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001375/0.4666, allocations: 33.5 kB / 483.1 MB, free: 148 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.4667, allocations: 15.44 kB / 483.2 MB, free: 132 kB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4667, allocations: 4 kB / 483.2 MB, free: 128 kB / 330.7 MB Notification: Performance of Templates: time 0.01943/0.4861, allocations: 12.64 MB / 495.8 MB, free: 3.215 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL.pipe 2>&1)