Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009932/0.0009932, allocations: 181.9 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.442/1.442, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.00162/0.00162, allocations: 116.7 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.226e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07296/0.07301, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/0.3832, allocations: 78.14 MB / 427.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.3834, allocations: 63.72 kB / 427.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05054/0.434, allocations: 31.25 MB / 458.9 MB, free: 6.766 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.434, allocations: 0 / 458.9 MB, free: 6.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.4341, allocations: 16 kB / 458.9 MB, free: 6.75 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001381/0.4354, allocations: 1.292 MB / 460.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4355, allocations: 15.97 kB / 460.2 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.4357, allocations: 130.5 kB / 460.3 MB, free: 5.293 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.4364, allocations: 0.5073 MB / 460.8 MB, free: 4.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.945e-05/0.4365, allocations: 19.94 kB / 460.9 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.4365, allocations: 27.88 kB / 460.9 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009088/0.4375, allocations: 0.6194 MB / 461.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.4375, allocations: 0 / 461.5 MB, free: 4.258 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.4375, allocations: 15.31 kB / 461.5 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.4376, allocations: 4 kB / 461.5 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.4382, allocations: 464.8 kB / 462 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.4397, allocations: 1.088 MB / 463.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007366/0.4404, allocations: 0.6958 MB / 463.8 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006664/0.4411, allocations: 0.6794 MB / 464.4 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.4411, allocations: 0 / 464.4 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008775/0.442, allocations: 0.7525 MB / 465.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 1.523e-06/0.442, allocations: 0 / 465.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002022/0.4441, allocations: 1.416 MB / 466.6 MB, free: 384 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002283/0.4443, allocations: 321.7 kB / 466.9 MB, free: 20 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.4468, allocations: 1.616 MB / 468.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/0.4469, allocations: 41.58 kB / 468.6 MB, free: 14.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.4471, allocations: 229 kB / 468.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.4472, allocations: 88.8 kB / 468.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.4473, allocations: 15.38 kB / 468.9 MB, free: 14.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4475, allocations: 375.5 kB / 469.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.4481, allocations: 456.6 kB / 469.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.4486, allocations: 446.2 kB / 470.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005702/0.4492, allocations: 0.5838 MB / 470.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4492, allocations: 0 / 470.7 MB, free: 12.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001756/0.451, allocations: 1.35 MB / 472.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002036/0.4512, allocations: 285.5 kB / 472.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4512, allocations: 3.984 kB / 472.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.4512, allocations: 3.953 kB / 472.4 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.4513, allocations: 11.94 kB / 472.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4513, allocations: 3.938 kB / 472.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.4517, allocations: 44.05 kB / 472.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001771/0.4518, allocations: 155.9 kB / 472.6 MB, free: 11.11 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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.0004182/0.4523, allocations: 470.4 kB / 473 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.4524, allocations: 130.4 kB / 473.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.453, allocations: 255.7 kB / 473.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.453, allocations: 4 kB / 473.4 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.453, allocations: 3.953 kB / 473.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.453, allocations: 3.984 kB / 473.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.456, allocations: 2.391 MB / 475.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.456, allocations: 0 / 475.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.456, allocations: 0 / 475.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4561, allocations: 0 / 475.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.4561, allocations: 43.92 kB / 475.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4561, allocations: 0 / 475.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4562, allocations: 8 kB / 475.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.4581, allocations: 1.614 MB / 477.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.4593, allocations: 0.6825 MB / 478.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.4595, allocations: 63.91 kB / 478.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.4598, allocations: 43.91 kB / 478.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005239/0.4604, allocations: 347.7 kB / 478.6 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.4605, allocations: 159.9 kB / 478.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001935/0.4625, allocations: 1.327 MB / 480.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4625, allocations: 0 / 480.1 MB, free: 3.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005257/0.463, allocations: 144 kB / 480.2 MB, free: 3.184 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.000255/0.4633, allocations: 189.7 kB / 480.4 MB, free: 2.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.4652, allocations: 1.918 MB / 482.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4652, allocations: 0 / 482.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.4664, allocations: 1.394 MB / 483.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4676, allocations: 302.4 kB / 484 MB, free: 15.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.4713, allocations: 2.476 MB / 486.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009886/0.4723, allocations: 1.217 MB / 487.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003262/0.4726, allocations: 198.9 kB / 487.9 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.189e-05/0.4727, allocations: 27.44 kB / 487.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4727, allocations: 0 / 487.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of Templates: time 0.02288/0.4955, allocations: 16.65 MB / 0.4928 GB, free: 10.14 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1)