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.001061/0.001061, allocations: 182.2 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.555/1.555, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001525/0.001525, allocations: 124.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.112e-05/3.116e-05, allocations: 7.984 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07376/0.07381, allocations: 44.5 MB / 349.5 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.3817, allocations: 75.32 MB / 424.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.3819, allocations: 80.75 kB / 424.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.3963, allocations: 5.599 MB / 430.5 MB, free: 8.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3963, allocations: 3.969 kB / 430.5 MB, free: 8.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.3964, allocations: 3.656 kB / 430.5 MB, free: 8.77 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008264/0.3972, allocations: 0.5734 MB / 431 MB, free: 8.273 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3972, allocations: 15.39 kB / 431 MB, free: 8.27 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.336e-05/0.3973, allocations: 38.56 kB / 431.1 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3976, allocations: 273.6 kB / 431.4 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.3977, allocations: 26.95 kB / 431.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.3977, allocations: 26.56 kB / 431.4 MB, free: 7.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.3981, allocations: 225 kB / 431.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3981, allocations: 0 / 431.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.3982, allocations: 10.47 kB / 431.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.3982, allocations: 3.844 kB / 431.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002759/0.3985, allocations: 173.5 kB / 431.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.3999, allocations: 1.088 MB / 432.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.4002, allocations: 97.94 kB / 433 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.429e-05/0.4003, allocations: 49.25 kB / 433 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.4003, allocations: 0 / 433 MB, free: 7.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.4005, allocations: 114.2 kB / 433.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.4005, allocations: 0 / 433.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003382/0.4009, allocations: 148 kB / 433.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4009, allocations: 84.94 kB / 433.4 MB, free: 6.898 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.4012, allocations: 288 kB / 433.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4013, allocations: 32.7 kB / 433.7 MB, free: 6.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.4014, allocations: 195.3 kB / 433.9 MB, free: 6.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4015, allocations: 38.52 kB / 433.9 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.4015, allocations: 3.75 kB / 433.9 MB, free: 6.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.4016, allocations: 340.3 kB / 434.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.685e-05/0.4017, allocations: 50.38 kB / 434.3 MB, free: 6.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.4018, allocations: 152.3 kB / 434.5 MB, free: 6.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.4019, allocations: 102 kB / 434.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4019, allocations: 4 kB / 434.6 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004121/0.4024, allocations: 296.7 kB / 434.8 MB, free: 5.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.4024, allocations: 33.86 kB / 434.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.4024, allocations: 7.812 kB / 434.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/0.4026, allocations: 39.23 kB / 434.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.4028, allocations: 57.41 kB / 435 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007527/0.4036, allocations: 1.309 MB / 436.3 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002889/0.4039, allocations: 49.77 kB / 436.3 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.4039, allocations: 22.95 kB / 436.4 MB, free: 4.535 MB / 298.7 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 8.005e-05/0.404, allocations: 117.2 kB / 436.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.4041, allocations: 34.3 kB / 436.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.874e-05/0.4041, allocations: 24.69 kB / 436.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4041, allocations: 3.969 kB / 436.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4041, allocations: 3.938 kB / 436.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4041, allocations: 4 kB / 436.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.4045, allocations: 446.1 kB / 437 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4045, allocations: 0 / 437 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.4046, allocations: 35.22 kB / 437 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.612e-05/0.4047, allocations: 27.88 kB / 437 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4048, allocations: 3.984 kB / 437 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006325/0.4054, allocations: 1.292 MB / 438.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.4054, allocations: 0 / 438.3 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.4057, allocations: 192.9 kB / 438.5 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.4057, allocations: 107.7 kB / 438.6 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.4058, allocations: 7.188 kB / 438.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.406, allocations: 19.48 kB / 438.7 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.4061, allocations: 26.98 kB / 438.7 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.4061, allocations: 3.812 kB / 438.7 MB, free: 2.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.4063, allocations: 221.4 kB / 438.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4063, allocations: 0 / 438.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003002/0.4066, allocations: 72.53 kB / 439 MB, free: 2.328 MB / 298.7 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.000129/0.4067, allocations: 114.8 kB / 439.1 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.4071, allocations: 314.2 kB / 439.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4071, allocations: 0 / 439.4 MB, free: 2.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.4073, allocations: 170.8 kB / 439.6 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.4076, allocations: 36.7 kB / 439.6 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.4081, allocations: 275.9 kB / 439.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001571/0.4083, allocations: 0.7612 MB / 440.6 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.4084, allocations: 34.25 kB / 440.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.4084, allocations: 26.61 kB / 440.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4084, allocations: 0 / 440.7 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of Templates: time 0.005368/0.4138, allocations: 2.761 MB / 443.4 MB, free: 15.62 MB / 314.7 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)