Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006045/0.006046, allocations: 169.8 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.4 MB / 222.5 MB, free: 5.793 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004694, allocations: 8 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2776, allocations: 47.58 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003053/0.2807, allocations: 2.847 MB / 329.9 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.2828, allocations: 0.9844 MB / 330.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.283, allocations: 5.188 kB / 330.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.2832, allocations: 40.23 kB / 330.9 MB, free: 14.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.2837, allocations: 115.6 kB / 331 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.2841, allocations: 115.5 kB / 331.1 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007224/0.2849, allocations: 467.7 kB / 331.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.2852, allocations: 114.7 kB / 331.7 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.2856, allocations: 165.8 kB / 331.9 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.286, allocations: 179 kB / 332 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.867e-05/0.286, allocations: 21.59 kB / 332.1 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2862, allocations: 53.5 kB / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.57e-05/0.2863, allocations: 87.22 kB / 332.2 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.2866, allocations: 213.5 kB / 332.4 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.2873, allocations: 474.3 kB / 332.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2873, allocations: 0 / 332.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.758e-06/0.2873, allocations: 0 / 332.9 MB, free: 12.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.2873, allocations: 1.031 kB / 332.9 MB, free: 12.93 MB / 270.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.001535/0.2888, allocations: 0.6835 MB / 333.6 MB, free: 12.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.2889, allocations: 8.719 kB / 333.6 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.289, allocations: 47.25 kB / 333.6 MB, free: 12.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.2895, allocations: 301.7 kB / 333.9 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.2895, allocations: 26.53 kB / 333.9 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/0.2896, allocations: 47.72 kB / 334 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007929/0.2904, allocations: 357.9 kB / 334.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2905, allocations: 0 / 334.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.2905, allocations: 11.56 kB / 334.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.2905, allocations: 7.844 kB / 334.3 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006353/0.2912, allocations: 243.9 kB / 334.6 MB, free: 11.66 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002227/0.2934, allocations: 1.185 MB / 335.8 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007641/0.2942, allocations: 291.5 kB / 336.1 MB, free: 10.17 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.2947, allocations: 217.3 kB / 336.3 MB, free: 9.957 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.2958, allocations: 1.125 MB / 337.4 MB, free: 8.574 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.2959, allocations: 38.73 kB / 337.4 MB, free: 8.527 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.2959, allocations: 0 / 337.4 MB, free: 8.527 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001386/0.2973, allocations: 0.5554 MB / 338 MB, free: 7.945 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.2973, allocations: 81.11 kB / 338.1 MB, free: 7.848 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003558/0.2977, allocations: 341.6 kB / 338.4 MB, free: 7.508 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2977, allocations: 33.7 kB / 338.4 MB, free: 7.469 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.2979, allocations: 212.1 kB / 338.6 MB, free: 7.258 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.926e-05/0.298, allocations: 102.6 kB / 338.7 MB, free: 7.156 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.515e-05/0.298, allocations: 41.69 kB / 338.8 MB, free: 7.109 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2982, allocations: 342.8 kB / 339.1 MB, free: 6.766 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.2985, allocations: 112.7 kB / 339.2 MB, free: 6.652 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/0.2988, allocations: 193.7 kB / 339.4 MB, free: 6.434 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.2993, allocations: 311.7 kB / 339.7 MB, free: 6.102 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.2993, allocations: 0 / 339.7 MB, free: 6.102 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008893/0.3002, allocations: 445.3 kB / 340.1 MB, free: 5.656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.3003, allocations: 4 kB / 340.2 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.3003, allocations: 4 kB / 340.2 MB, free: 5.648 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/0.3006, allocations: 68.91 kB / 340.2 MB, free: 5.578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.3009, allocations: 79.89 kB / 340.3 MB, free: 5.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.3027, allocations: 1.772 MB / 342.1 MB, free: 3.598 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.303, allocations: 43.73 kB / 342.1 MB, free: 3.555 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3031, allocations: 12 kB / 342.1 MB, free: 3.543 MB / 270.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.3033, allocations: 153.7 kB / 342.3 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.749e-05/0.3034, allocations: 39.47 kB / 342.3 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007367/0.3041, allocations: 346.3 kB / 342.7 MB, free: 2.992 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3041, allocations: 4 kB / 342.7 MB, free: 2.988 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.3041, allocations: 0 / 342.7 MB, free: 2.988 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3041, allocations: 3.984 kB / 342.7 MB, free: 2.984 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.3046, allocations: 389.2 kB / 343 MB, free: 2.555 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3046, allocations: 4 kB / 343 MB, free: 2.551 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.3049, allocations: 63.89 kB / 343.1 MB, free: 2.488 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.3052, allocations: 52.83 kB / 343.2 MB, free: 2.434 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.3052, allocations: 7.984 kB / 343.2 MB, free: 2.426 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004179/0.3056, allocations: 0.6149 MB / 343.8 MB, free: 1.785 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3056, allocations: 0 / 343.8 MB, free: 1.785 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/0.3066, allocations: 0.5444 MB / 344.3 MB, free: 1.223 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3067, allocations: 132.6 kB / 344.5 MB, free: 1.074 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.3067, allocations: 4 kB / 344.5 MB, free: 1.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.307, allocations: 27.98 kB / 344.5 MB, free: 1.043 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.3071, allocations: 15.97 kB / 344.5 MB, free: 1.027 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3071, allocations: 12 kB / 344.5 MB, free: 1.016 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.3074, allocations: 239.2 kB / 344.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3074, allocations: 0 / 344.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004646/0.3079, allocations: 111.8 kB / 344.9 MB, free: 0.6797 MB / 270.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002064/0.3081, allocations: 131.1 kB / 345 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008279/0.3089, allocations: 422.7 kB / 345.4 MB, free: 116 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3089, allocations: 0 / 345.4 MB, free: 116 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003673/0.3093, allocations: 147.9 kB / 345.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3097, allocations: 49.33 kB / 345.6 MB, free: 15.92 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3113, allocations: 1.09 MB / 346.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.3116, allocations: 0.795 MB / 347.5 MB, free: 13.98 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.3118, allocations: 38.95 kB / 347.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.3119, allocations: 27.42 kB / 347.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3119, allocations: 3.938 kB / 347.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of Templates: time 0.00787/0.3197, allocations: 3.703 MB / 351.2 MB, free: 10.2 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)