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.0009927/0.0009924, allocations: 178.9 kB / 16.38 MB, free: 5.766 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.18/1.18, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001567/0.001567, allocations: 107.2 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 11.98 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07578/0.07611, allocations: 44.49 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2148/0.2909, allocations: 75.4 MB / 430.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.2912, allocations: 83.67 kB / 430.6 MB, free: 14.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01316/0.3044, allocations: 5.607 MB / 436.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3044, allocations: 0 / 436.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3044, allocations: 4 kB / 436.2 MB, free: 9.504 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009271/0.3053, allocations: 0.6265 MB / 436.8 MB, free: 8.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3054, allocations: 8.031 kB / 436.8 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.3054, allocations: 36.56 kB / 436.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.3057, allocations: 274.5 kB / 437.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.3057, allocations: 15.56 kB / 437.1 MB, free: 8.516 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.27e-05/0.3058, allocations: 26.75 kB / 437.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.3063, allocations: 272 kB / 437.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3063, allocations: 0 / 437.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.3063, allocations: 6.062 kB / 437.4 MB, free: 8.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3063, allocations: 11.94 kB / 437.4 MB, free: 8.285 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00055/0.3069, allocations: 257.1 kB / 437.7 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3082, allocations: 1.093 MB / 438.8 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004748/0.3087, allocations: 174.4 kB / 438.9 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.3087, allocations: 4 kB / 438.9 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.3091, allocations: 154.5 kB / 439.1 MB, free: 6.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.3091, allocations: 0 / 439.1 MB, free: 6.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008444/0.3099, allocations: 403.9 kB / 439.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.31, allocations: 81.14 kB / 439.6 MB, free: 6.348 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3102, allocations: 292.2 kB / 439.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3102, allocations: 29.7 kB / 439.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.459e-05/0.3103, allocations: 198.7 kB / 440.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.3103, allocations: 31.56 kB / 440.1 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.3103, allocations: 7.812 kB / 440.1 MB, free: 5.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.3104, allocations: 334.3 kB / 440.4 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.3106, allocations: 94.03 kB / 440.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.3109, allocations: 202.4 kB / 440.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/0.3111, allocations: 134.2 kB / 440.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3111, allocations: 0 / 440.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006552/0.3118, allocations: 391.6 kB / 441.2 MB, free: 4.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.3118, allocations: 37.27 kB / 441.3 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3119, allocations: 4 kB / 441.3 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/0.312, allocations: 28.28 kB / 441.3 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.3122, allocations: 66.89 kB / 441.4 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006885/0.3129, allocations: 1.311 MB / 442.7 MB, free: 3.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.3132, allocations: 47.11 kB / 442.7 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3133, allocations: 16.34 kB / 442.8 MB, free: 3.25 MB / 314.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 () * Number of clocked 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 0.0001073/0.3134, allocations: 147.3 kB / 442.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3134, allocations: 30.98 kB / 442.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.3135, allocations: 26.84 kB / 443 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3135, allocations: 3.938 kB / 443 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3135, allocations: 4.656 kB / 443 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3135, allocations: 0 / 443 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.3138, allocations: 442 kB / 443.4 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3138, allocations: 0 / 443.4 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.3139, allocations: 36 kB / 443.4 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.27e-05/0.314, allocations: 28.58 kB / 443.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.314, allocations: 0 / 443.5 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005448/0.3146, allocations: 1.304 MB / 444.8 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3146, allocations: 4.031 kB / 444.8 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004973/0.3151, allocations: 282.1 kB / 445 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3152, allocations: 111.7 kB / 445.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.3152, allocations: 0 / 445.2 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.3154, allocations: 27.03 kB / 445.2 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.3155, allocations: 27.67 kB / 445.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.3155, allocations: 2.062 kB / 445.2 MB, free: 0.75 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.3157, allocations: 227.5 kB / 445.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3157, allocations: 0 / 445.4 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.316, allocations: 70.41 kB / 445.5 MB, free: 0.5078 MB / 314.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) * Number of clocked states: 0 () * 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.0001011/0.3161, allocations: 103.2 kB / 445.6 MB, free: 408 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.3167, allocations: 397.3 kB / 446 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3167, allocations: 0.75 kB / 446 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003848/0.3171, allocations: 216.2 kB / 446.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/0.3173, allocations: 33.92 kB / 446.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.3181, allocations: 0.524 MB / 446.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3184, allocations: 0.756 MB / 447.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001242/0.3186, allocations: 40.97 kB / 447.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.3186, allocations: 23.44 kB / 447.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3186, allocations: 0 / 447.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of Templates: time 0.005463/0.3241, allocations: 2.751 MB / 450.3 MB, free: 11.76 MB / 330.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)