Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001314/0.001314, allocations: 179.5 kB / 16.38 MB, free: 5.762 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.136/1.136, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.00177/0.00177, allocations: 117.1 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08116, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/0.3148, allocations: 74.54 MB / 429.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.3151, allocations: 87.27 kB / 429.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01229/0.3274, allocations: 4.965 MB / 434.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3275, allocations: 0 / 434.7 MB, free: 10.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3275, allocations: 4 kB / 434.7 MB, free: 10.8 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007684/0.3283, allocations: 0.561 MB / 435.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3283, allocations: 8.031 kB / 435.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.3284, allocations: 25.27 kB / 435.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.3286, allocations: 261.6 kB / 435.5 MB, free: 9.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3286, allocations: 13.34 kB / 435.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.3287, allocations: 22.98 kB / 435.6 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.3291, allocations: 218 kB / 435.8 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3291, allocations: 0 / 435.8 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3292, allocations: 14.98 kB / 435.8 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.3292, allocations: 4 kB / 435.8 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.3297, allocations: 223.2 kB / 436 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001118/0.3308, allocations: 0.8434 MB / 436.8 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.3314, allocations: 211.3 kB / 437.1 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3314, allocations: 0 / 437.1 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.3317, allocations: 172.7 kB / 437.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.083e-06/0.3318, allocations: 0 / 437.2 MB, free: 8.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.001338/0.3331, allocations: 491.6 kB / 437.7 MB, free: 7.965 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.3331, allocations: 81.11 kB / 437.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.3333, allocations: 212.9 kB / 438 MB, free: 7.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3333, allocations: 32.89 kB / 438 MB, free: 7.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.3334, allocations: 154.7 kB / 438.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.3334, allocations: 37.08 kB / 438.2 MB, free: 7.484 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.3335, allocations: 8.594 kB / 438.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.877e-05/0.3335, allocations: 333.2 kB / 438.5 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.3338, allocations: 91.31 kB / 438.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.334, allocations: 146.7 kB / 438.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.3342, allocations: 121 kB / 438.9 MB, free: 6.836 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3342, allocations: 0 / 438.9 MB, free: 6.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007782/0.335, allocations: 376.7 kB / 439.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3351, allocations: 30.95 kB / 439.3 MB, free: 6.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3351, allocations: 4 kB / 439.3 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.3354, allocations: 75.05 kB / 439.4 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.3356, allocations: 61.41 kB / 439.4 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.3371, allocations: 1.494 MB / 440.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.3374, allocations: 39.31 kB / 441 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.3374, allocations: 12.94 kB / 441 MB, free: 4.719 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 18 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/0.3375, allocations: 141.5 kB / 441.1 MB, free: 4.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.3375, allocations: 19.8 kB / 441.1 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/0.3376, allocations: 21.42 kB / 441.2 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3376, allocations: 4 kB / 441.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.3376, allocations: 0 / 441.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3376, allocations: 0 / 441.2 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.3378, allocations: 286.1 kB / 441.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3378, allocations: 0 / 441.4 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.3379, allocations: 42.72 kB / 441.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.3382, allocations: 72.42 kB / 441.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.3383, allocations: 7.984 kB / 441.6 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.3396, allocations: 1.496 MB / 443.1 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3396, allocations: 0 / 443.1 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.3405, allocations: 400.7 kB / 443.4 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.3406, allocations: 100.1 kB / 443.5 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.3406, allocations: 4 kB / 443.5 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.3408, allocations: 31.91 kB / 443.6 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.3409, allocations: 19.16 kB / 443.6 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3409, allocations: 7.062 kB / 443.6 MB, free: 2.055 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001137/0.341, allocations: 172.2 kB / 443.8 MB, free: 1.914 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3411, allocations: 0 / 443.8 MB, free: 1.914 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002643/0.3413, allocations: 59.16 kB / 443.8 MB, free: 1.859 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 8 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.3415, allocations: 110.2 kB / 443.9 MB, free: 1.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006486/0.3421, allocations: 388.2 kB / 444.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3421, allocations: 0 / 444.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.3424, allocations: 209.8 kB / 444.5 MB, free: 1.188 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.3427, allocations: 34.95 kB / 444.6 MB, free: 1.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007506/0.3434, allocations: 0.5509 MB / 445.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.3436, allocations: 0.7443 MB / 445.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.531e-05/0.3437, allocations: 25.92 kB / 445.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.3438, allocations: 15.44 kB / 445.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3438, allocations: 4 kB / 445.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of Templates: time 0.005474/0.3493, allocations: 2.755 MB / 448.6 MB, free: 13.12 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1)