Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001987/0.001987, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.317/1.317, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001582/0.001582, allocations: 119.4 kB / 218 MB, free: 8.402 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.604e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07304/0.07307, allocations: 38.77 MB / 301 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2482/0.3213, allocations: 69.12 MB / 370.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.3215, allocations: 71.2 kB / 370.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02439/0.3459, allocations: 8.345 MB / 378.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.346, allocations: 4 kB / 378.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.346, allocations: 4 kB / 378.5 MB, free: 8.273 MB / 266.7 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.001329/0.3474, allocations: 0.6287 MB / 379.2 MB, free: 7.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.3475, allocations: 12.03 kB / 379.2 MB, free: 7.613 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3476, allocations: 43.44 kB / 379.2 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.3481, allocations: 303.5 kB / 379.5 MB, free: 7.258 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3482, allocations: 11.95 kB / 379.5 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.305e-05/0.3482, allocations: 27.19 kB / 379.5 MB, free: 7.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003753/0.3486, allocations: 193.2 kB / 379.7 MB, free: 7.105 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.3491, allocations: 291.6 kB / 380 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3491, allocations: 0 / 380 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.3492, allocations: 0 / 380 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3492, allocations: 8 kB / 380 MB, free: 6.871 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.3515, allocations: 1.106 MB / 381.1 MB, free: 5.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.352, allocations: 241.2 kB / 381.4 MB, free: 5.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.3524, allocations: 181.9 kB / 381.5 MB, free: 5.621 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/0.3535, allocations: 1.132 MB / 382.7 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.3535, allocations: 34.67 kB / 382.7 MB, free: 4.195 MB / 266.7 MB Notification: Performance of pre-optimization done (n=27): time 2.746e-06/0.3535, allocations: 4 kB / 382.7 MB, free: 4.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007246/0.3543, allocations: 262.4 kB / 383 MB, free: 3.984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.3543, allocations: 85.11 kB / 383.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.3546, allocations: 246.6 kB / 383.3 MB, free: 3.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/0.3547, allocations: 33.64 kB / 383.3 MB, free: 3.648 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.3548, allocations: 221 kB / 383.5 MB, free: 3.473 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.799e-05/0.3549, allocations: 95.75 kB / 383.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.577e-05/0.3549, allocations: 0 / 383.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.3551, allocations: 340 kB / 384 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.3553, allocations: 84.12 kB / 384 MB, free: 3.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.3555, allocations: 158.3 kB / 384.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/0.3558, allocations: 109.9 kB / 384.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3558, allocations: 0 / 384.3 MB, free: 2.797 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006829/0.3565, allocations: 361.4 kB / 384.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3565, allocations: 4 kB / 384.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3565, allocations: 4 kB / 384.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.3568, allocations: 65.12 kB / 384.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.3571, allocations: 79.89 kB / 384.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.359, allocations: 1.699 MB / 386.5 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.3593, allocations: 35.58 kB / 386.5 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3594, allocations: 15.5 kB / 386.6 MB, free: 0.7031 MB / 266.7 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 0.000142/0.3595, allocations: 112.9 kB / 386.7 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.3596, allocations: 23.78 kB / 386.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005923/0.3602, allocations: 302.2 kB / 387 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3602, allocations: 0 / 387 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.3602, allocations: 4 kB / 387 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3602, allocations: 0 / 387 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.3607, allocations: 340.4 kB / 387.3 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.3607, allocations: 4 kB / 387.3 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003719/0.3611, allocations: 63.41 kB / 387.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.3613, allocations: 54.62 kB / 387.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.3613, allocations: 7.953 kB / 387.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004547/0.3618, allocations: 0.6172 MB / 388.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.3618, allocations: 160 / 388.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.3625, allocations: 465.7 kB / 388.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.3627, allocations: 135.1 kB / 388.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.3627, allocations: 0 / 388.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.363, allocations: 31.94 kB / 388.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.363, allocations: 15.97 kB / 388.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3631, allocations: 10.88 kB / 388.7 MB, free: 14.74 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.3633, allocations: 195.5 kB / 388.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3633, allocations: 0 / 388.9 MB, free: 14.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004929/0.3638, allocations: 103.7 kB / 389 MB, free: 14.49 MB / 282.7 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.0002439/0.364, allocations: 131.1 kB / 389.1 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006195/0.3646, allocations: 348.1 kB / 389.5 MB, free: 14.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3647, allocations: 7.125 kB / 389.5 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.3649, allocations: 115.7 kB / 389.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.3652, allocations: 29 kB / 389.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.3662, allocations: 0.6624 MB / 390.3 MB, free: 13.33 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.3666, allocations: 0.7991 MB / 391.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001634/0.3668, allocations: 39.27 kB / 391.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.449e-05/0.3669, allocations: 27.42 kB / 391.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3669, allocations: 0 / 391.2 MB, free: 12.44 MB / 282.7 MB Notification: Performance of Templates: time 0.007137/0.374, allocations: 3.119 MB / 394.3 MB, free: 9.328 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)