Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001571/0.001571, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.568/1.568, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001634/0.001634, allocations: 123.8 kB / 248.1 MB, free: 6.336 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.959e-05/1.96e-05, allocations: 4 kB / 298.1 MB, free: 8.23 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0884/0.08844, allocations: 44.5 MB / 342.6 MB, free: 11.63 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3543/0.4428, allocations: 74.65 MB / 417.2 MB, free: 21.15 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.4431, allocations: 74.33 kB / 417.3 MB, free: 21.11 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01973/0.4629, allocations: 5.547 MB / 422.9 MB, free: 16.51 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4629, allocations: 0 / 422.9 MB, free: 16.51 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.966e-05/0.463, allocations: 4 kB / 422.9 MB, free: 16.5 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001042/0.464, allocations: 0.5797 MB / 423.4 MB, free: 15.9 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4641, allocations: 12.03 kB / 423.5 MB, free: 15.89 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.518e-05/0.4642, allocations: 33.34 kB / 423.5 MB, free: 15.86 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.4646, allocations: 285.4 kB / 423.8 MB, free: 15.57 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.4646, allocations: 8 kB / 423.8 MB, free: 15.56 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.83e-05/0.4647, allocations: 12 kB / 423.8 MB, free: 15.55 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003902/0.4651, allocations: 161 kB / 423.9 MB, free: 15.45 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.4655, allocations: 190.5 kB / 424.1 MB, free: 15.31 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.4655, allocations: 3.984 kB / 424.1 MB, free: 15.3 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.4656, allocations: 4 kB / 424.1 MB, free: 15.3 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.4656, allocations: 5.75 kB / 424.1 MB, free: 15.3 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.4675, allocations: 1.02 MB / 425.2 MB, free: 14.38 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.4678, allocations: 98.97 kB / 425.3 MB, free: 14.3 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.4679, allocations: 44.27 kB / 425.3 MB, free: 14.27 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.468, allocations: 4 kB / 425.3 MB, free: 14.27 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.4682, allocations: 111 kB / 425.4 MB, free: 14.16 MB / 315.1 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.4682, allocations: 0 / 425.4 MB, free: 14.16 MB / 315.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004268/0.4687, allocations: 135.2 kB / 425.5 MB, free: 14.04 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.4687, allocations: 77.11 kB / 425.6 MB, free: 13.95 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.469, allocations: 243.6 kB / 425.9 MB, free: 13.74 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.469, allocations: 25.7 kB / 425.9 MB, free: 13.71 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4691, allocations: 205.3 kB / 426.1 MB, free: 13.54 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.4692, allocations: 31.31 kB / 426.1 MB, free: 13.51 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.4692, allocations: 0 / 426.1 MB, free: 13.51 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.818e-05/0.4693, allocations: 333.2 kB / 426.4 MB, free: 13.19 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.4694, allocations: 53.11 kB / 426.5 MB, free: 13.16 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.4696, allocations: 153.9 kB / 426.6 MB, free: 12.99 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4698, allocations: 54.86 kB / 426.7 MB, free: 12.95 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4698, allocations: 4 kB / 426.7 MB, free: 12.95 MB / 315.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005521/0.4703, allocations: 242.7 kB / 426.9 MB, free: 12.75 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.699e-05/0.4704, allocations: 40.72 kB / 427 MB, free: 12.7 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4704, allocations: 5.188 kB / 427 MB, free: 12.7 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.4706, allocations: 32.81 kB / 427 MB, free: 12.67 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.471, allocations: 59.89 kB / 427.1 MB, free: 12.61 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008693/0.4719, allocations: 1.256 MB / 428.3 MB, free: 11.3 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.4724, allocations: 43.88 kB / 428.4 MB, free: 11.25 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.4724, allocations: 15.44 kB / 428.4 MB, free: 11.24 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.408e-05/0.4725, allocations: 116.9 kB / 428.5 MB, free: 11.12 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.4726, allocations: 19.81 kB / 428.5 MB, free: 11.11 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.4726, allocations: 28.47 kB / 428.5 MB, free: 11.09 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4726, allocations: 0 / 428.5 MB, free: 11.09 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4727, allocations: 0 / 428.5 MB, free: 11.09 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4727, allocations: 0 / 428.5 MB, free: 11.09 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.4731, allocations: 419.2 kB / 429 MB, free: 10.69 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4731, allocations: 0 / 429 MB, free: 10.69 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.4733, allocations: 27.97 kB / 429 MB, free: 10.66 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/0.4735, allocations: 28.61 kB / 429 MB, free: 10.64 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.4735, allocations: 1.125 kB / 429 MB, free: 10.64 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007886/0.4743, allocations: 1.244 MB / 430.3 MB, free: 9.332 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4743, allocations: 8.094 kB / 430.3 MB, free: 9.324 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003327/0.4747, allocations: 182.7 kB / 430.4 MB, free: 9.145 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.4748, allocations: 98.03 kB / 430.5 MB, free: 9.031 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.4748, allocations: 3.188 kB / 430.5 MB, free: 9.031 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.4751, allocations: 27.97 kB / 430.6 MB, free: 9.004 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.908e-05/0.4752, allocations: 15.3 kB / 430.6 MB, free: 8.992 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.4753, allocations: 3.984 kB / 430.6 MB, free: 8.988 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.0002058/0.4755, allocations: 182.5 kB / 430.8 MB, free: 8.848 MB / 315.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4755, allocations: 0 / 430.8 MB, free: 8.848 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0005374/0.476, allocations: 71.69 kB / 430.8 MB, free: 8.777 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.4762, allocations: 107.7 kB / 430.9 MB, free: 8.664 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.000547/0.4767, allocations: 297 kB / 431.2 MB, free: 8.398 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4768, allocations: 0 / 431.2 MB, free: 8.398 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.477, allocations: 160.6 kB / 431.4 MB, free: 8.254 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.4774, allocations: 38.97 kB / 431.4 MB, free: 8.227 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.4781, allocations: 272.3 kB / 431.7 MB, free: 7.961 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.4783, allocations: 0.7599 MB / 432.5 MB, free: 7.176 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.000186/0.4785, allocations: 26.08 kB / 432.5 MB, free: 7.145 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.4786, allocations: 23.42 kB / 432.5 MB, free: 7.121 MB / 315.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4786, allocations: 0 / 432.5 MB, free: 7.121 MB / 315.1 MB Notification: Performance of Templates: time 0.007195/0.4858, allocations: 2.347 MB / 434.8 MB, free: 4.836 MB / 315.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.pipe 2>&1)