Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001543/0.001543, allocations: 187.8 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.342/1.342, allocations: 194.3 MB / 203.1 MB, free: 9.32 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.001836/0.001836, allocations: 118.7 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.569e-05/1.57e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08629, allocations: 44.49 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2624/0.3488, allocations: 74.18 MB / 416.8 MB, free: 21.66 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.349, allocations: 67.36 kB / 416.8 MB, free: 21.63 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01954/0.3686, allocations: 8.269 MB / 425.1 MB, free: 14.8 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3686, allocations: 0 / 425.1 MB, free: 14.8 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.3686, allocations: 11.98 kB / 425.1 MB, free: 14.79 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0007371/0.3694, allocations: 0.6213 MB / 425.7 MB, free: 14.15 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.3694, allocations: 12.97 kB / 425.7 MB, free: 14.14 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.681e-05/0.3695, allocations: 47.44 kB / 425.8 MB, free: 14.09 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/0.3697, allocations: 294.6 kB / 426.1 MB, free: 13.79 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.3698, allocations: 12 kB / 426.1 MB, free: 13.78 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.3698, allocations: 31.58 kB / 426.1 MB, free: 13.75 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002824/0.3701, allocations: 194.7 kB / 426.3 MB, free: 13.64 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.3705, allocations: 274.6 kB / 426.6 MB, free: 13.43 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3705, allocations: 0 / 426.6 MB, free: 13.43 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.3706, allocations: 3.938 kB / 426.6 MB, free: 13.42 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3706, allocations: 12 kB / 426.6 MB, free: 13.41 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/0.372, allocations: 1.108 MB / 427.7 MB, free: 12.46 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.3723, allocations: 232 kB / 427.9 MB, free: 12.31 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.3726, allocations: 188.3 kB / 428.1 MB, free: 12.17 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004513/0.3731, allocations: 1.117 MB / 429.2 MB, free: 10.8 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3731, allocations: 38.11 kB / 429.3 MB, free: 10.75 MB / 315.1 MB Notification: Performance of pre-optimization done (n=27): time 1.383e-06/0.3731, allocations: 4 kB / 429.3 MB, free: 10.75 MB / 315.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004714/0.3736, allocations: 276.4 kB / 429.5 MB, free: 10.53 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.3737, allocations: 77.11 kB / 429.6 MB, free: 10.44 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.3738, allocations: 246 kB / 429.8 MB, free: 10.24 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.3739, allocations: 26.36 kB / 429.9 MB, free: 10.21 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.755e-05/0.374, allocations: 219 kB / 430.1 MB, free: 10.04 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.374, allocations: 99.12 kB / 430.2 MB, free: 9.949 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/0.374, allocations: 0 / 430.2 MB, free: 9.949 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.3741, allocations: 347.5 kB / 430.5 MB, free: 9.613 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3742, allocations: 78.25 kB / 430.6 MB, free: 9.566 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3744, allocations: 163.4 kB / 430.8 MB, free: 9.422 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.3746, allocations: 100.5 kB / 430.9 MB, free: 9.359 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3746, allocations: 0 / 430.9 MB, free: 9.359 MB / 315.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005124/0.3751, allocations: 360 kB / 431.2 MB, free: 9.074 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3751, allocations: 7.984 kB / 431.2 MB, free: 9.066 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3751, allocations: 7.938 kB / 431.2 MB, free: 9.059 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.3753, allocations: 68.39 kB / 431.3 MB, free: 9 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3756, allocations: 80.55 kB / 431.4 MB, free: 8.926 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/0.3768, allocations: 1.703 MB / 433.1 MB, free: 7.309 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.377, allocations: 39.64 kB / 433.1 MB, free: 7.27 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.377, allocations: 15.94 kB / 433.1 MB, free: 7.258 MB / 315.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.076e-05/0.3771, allocations: 112.7 kB / 433.2 MB, free: 7.141 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.3771, allocations: 33.03 kB / 433.3 MB, free: 7.109 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.3776, allocations: 290.3 kB / 433.6 MB, free: 6.891 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3776, allocations: 4 kB / 433.6 MB, free: 6.887 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.3776, allocations: 0 / 433.6 MB, free: 6.887 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3776, allocations: 0 / 433.6 MB, free: 6.887 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.3779, allocations: 346.6 kB / 433.9 MB, free: 6.578 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3779, allocations: 0 / 433.9 MB, free: 6.578 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.3782, allocations: 55.95 kB / 433.9 MB, free: 6.523 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.3784, allocations: 60.19 kB / 434 MB, free: 6.473 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.3784, allocations: 4 kB / 434 MB, free: 6.469 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002506/0.3787, allocations: 0.6049 MB / 434.6 MB, free: 5.879 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3787, allocations: 0 / 434.6 MB, free: 5.879 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.3792, allocations: 472.7 kB / 435.1 MB, free: 5.5 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.963e-05/0.3793, allocations: 133.5 kB / 435.2 MB, free: 5.363 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.3793, allocations: 0 / 435.2 MB, free: 5.363 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.3796, allocations: 23.98 kB / 435.2 MB, free: 5.34 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.3796, allocations: 19.59 kB / 435.2 MB, free: 5.324 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.3796, allocations: 9.312 kB / 435.3 MB, free: 5.316 MB / 315.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.3798, allocations: 192 kB / 435.4 MB, free: 5.168 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3798, allocations: 0 / 435.4 MB, free: 5.168 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003979/0.3802, allocations: 103.7 kB / 435.5 MB, free: 5.066 MB / 315.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001722/0.3804, allocations: 131.2 kB / 435.7 MB, free: 4.93 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0004775/0.3808, allocations: 356.6 kB / 436 MB, free: 4.652 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3809, allocations: 0 / 436 MB, free: 4.652 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001951/0.3811, allocations: 130.1 kB / 436.2 MB, free: 4.559 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.3813, allocations: 31.78 kB / 436.2 MB, free: 4.535 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.3821, allocations: 0.6457 MB / 436.8 MB, free: 3.922 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.3823, allocations: 0.8069 MB / 437.6 MB, free: 3.09 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.3825, allocations: 36.28 kB / 437.7 MB, free: 3.055 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.3826, allocations: 27.12 kB / 437.7 MB, free: 3.031 MB / 315.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3826, allocations: 0 / 437.7 MB, free: 3.031 MB / 315.1 MB Notification: Performance of Templates: time 0.005637/0.3883, allocations: 3.131 MB / 440.8 MB, free: 15.98 MB / 331.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)