Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007947/0.007947, allocations: 166.6 kB / 15.11 MB, free: 5.973 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.471/1.471, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001632/0.001632, allocations: 114.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2275, allocations: 38.76 MB / 312.9 MB, free: 38.75 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0904/0.3179, allocations: 72.95 MB / 385.8 MB, free: 1.57 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.3183, allocations: 71.97 kB / 385.9 MB, free: 1.5 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05956/0.3779, allocations: 31.71 MB / 417.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3779, allocations: 0 / 417.6 MB, free: 1.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.132e-05/0.3779, allocations: 12 kB / 417.6 MB, free: 1.812 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.001738/0.3797, allocations: 1.469 MB / 419.1 MB, free: 244 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.3798, allocations: 8.031 kB / 419.1 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.38, allocations: 130.5 kB / 419.2 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1459/0.5258, allocations: 0.5082 MB / 419.7 MB, free: 84.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.17e-05/0.5259, allocations: 22.42 kB / 419.8 MB, free: 84.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.526, allocations: 32.08 kB / 419.8 MB, free: 84.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.5275, allocations: 0.621 MB / 420.4 MB, free: 84.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5275, allocations: 2.156 kB / 420.4 MB, free: 84.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.868e-05/0.5276, allocations: 19.31 kB / 420.4 MB, free: 84.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5276, allocations: 6.531 kB / 420.4 MB, free: 84.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009327/0.5286, allocations: 465 kB / 420.9 MB, free: 84.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.5306, allocations: 1.032 MB / 421.9 MB, free: 84.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.5315, allocations: 0.6974 MB / 422.6 MB, free: 84.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.441e-05/0.5315, allocations: 1.344 kB / 422.6 MB, free: 84.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000968/0.5325, allocations: 0.7547 MB / 423.4 MB, free: 83.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.126e-06/0.5325, allocations: 0 / 423.4 MB, free: 83.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002748/0.5353, allocations: 2.115 MB / 425.5 MB, free: 83.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.5354, allocations: 325.7 kB / 425.8 MB, free: 83.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.5374, allocations: 1.456 MB / 427.3 MB, free: 82.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/0.5375, allocations: 41.02 kB / 427.3 MB, free: 82.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.5376, allocations: 219.3 kB / 427.5 MB, free: 82.63 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.5378, allocations: 83.78 kB / 427.6 MB, free: 82.6 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/0.5378, allocations: 11.62 kB / 427.6 MB, free: 82.6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5379, allocations: 375.5 kB / 428 MB, free: 82.28 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.5386, allocations: 445.1 kB / 428.4 MB, free: 82.28 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.5392, allocations: 476.6 kB / 428.9 MB, free: 82.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.5399, allocations: 0.5826 MB / 429.5 MB, free: 81.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.5399, allocations: 0 / 429.5 MB, free: 81.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001643/0.5415, allocations: 1.336 MB / 430.8 MB, free: 81.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.5417, allocations: 291.1 kB / 431.1 MB, free: 80.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.5417, allocations: 10.84 kB / 431.1 MB, free: 80.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.5418, allocations: 0 / 431.1 MB, free: 80.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.433e-05/0.5418, allocations: 3.656 kB / 431.1 MB, free: 80.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5418, allocations: 2.719 kB / 431.1 MB, free: 80.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004052/0.5422, allocations: 53.08 kB / 431.2 MB, free: 80.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.5424, allocations: 151.8 kB / 431.3 MB, free: 80.97 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 43 ($PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked 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.0009995/0.5434, allocations: 0.9483 MB / 432.2 MB, free: 80.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.5435, allocations: 129.2 kB / 432.4 MB, free: 80.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.5438, allocations: 205.6 kB / 432.6 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5438, allocations: 0 / 432.6 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5438, allocations: 0 / 432.6 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5438, allocations: 0 / 432.6 MB, free: 80.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.5461, allocations: 2.331 MB / 434.9 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5461, allocations: 3.172 kB / 434.9 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.5462, allocations: 7.344 kB / 434.9 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5462, allocations: 0 / 434.9 MB, free: 79.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.5462, allocations: 39.62 kB / 435 MB, free: 79.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.5463, allocations: 0 / 435 MB, free: 79.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5463, allocations: 0 / 435 MB, free: 79.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5479, allocations: 1.623 MB / 436.6 MB, free: 78.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009038/0.5488, allocations: 0.6515 MB / 437.2 MB, free: 77.89 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5489, allocations: 59.17 kB / 437.3 MB, free: 77.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003108/0.5493, allocations: 42.12 kB / 437.3 MB, free: 77.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004355/0.5497, allocations: 359.8 kB / 437.7 MB, free: 77.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.5499, allocations: 161.8 kB / 437.8 MB, free: 77.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.5511, allocations: 1.213 MB / 439.1 MB, free: 77.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5512, allocations: 0 / 439.1 MB, free: 77.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005014/0.5517, allocations: 144.4 kB / 439.2 MB, free: 77.29 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * 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.0002186/0.5519, allocations: 193.3 kB / 439.4 MB, free: 77.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.5535, allocations: 1.92 MB / 441.3 MB, free: 76.03 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5535, allocations: 0 / 441.3 MB, free: 76.03 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009412/0.5544, allocations: 1.395 MB / 442.7 MB, free: 75.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009565/0.5554, allocations: 309.3 kB / 443 MB, free: 74.98 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002935/0.5584, allocations: 2.93 MB / 445.9 MB, free: 73.11 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.559, allocations: 1.173 MB / 447.1 MB, free: 72.06 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.5592, allocations: 77.34 kB / 447.2 MB, free: 72.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.5592, allocations: 27.44 kB / 447.2 MB, free: 71.98 MB / 314.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5592, allocations: 4 kB / 447.2 MB, free: 71.98 MB / 314.7 MB Notification: Performance of Templates: time 0.01539/0.5746, allocations: 15.48 MB / 462.7 MB, free: 57.15 MB / 314.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1)