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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.001328/0.001329, allocations: 183.1 kB / 17.21 MB, free: 6.316 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.817/1.817, allocations: 205.4 MB / 223.4 MB, free: 5.266 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.0004982/0.0004983, allocations: 12 kB / 280.1 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3471, allocations: 47.59 MB / 327.7 MB, free: 1.641 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004497/0.3517, allocations: 2.711 MB / 330.4 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002837/0.3546, allocations: 0.9479 MB / 331.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004022/0.355, allocations: 4.219 kB / 331.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.3553, allocations: 40.7 kB / 331.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005516/0.3559, allocations: 107 kB / 331.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.3563, allocations: 111.7 kB / 331.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.357, allocations: 443.8 kB / 332.1 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.3573, allocations: 95.97 kB / 332.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.3577, allocations: 158.8 kB / 332.3 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/0.358, allocations: 179.3 kB / 332.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.108e-05/0.3581, allocations: 20.34 kB / 332.5 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002178/0.3584, allocations: 61.72 kB / 332.6 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.3585, allocations: 75.7 kB / 332.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3586, allocations: 91.64 kB / 332.8 MB, free: 13.83 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.359, allocations: 363.5 kB / 333.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3591, allocations: 0 / 333.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.977e-06/0.3591, allocations: 0 / 333.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.3591, allocations: 5.219 kB / 333.1 MB, free: 13.56 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.001496/0.3606, allocations: 0.679 MB / 333.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.165e-05/0.3607, allocations: 11.94 kB / 333.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001378/0.3608, allocations: 46.97 kB / 333.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005875/0.3614, allocations: 296.7 kB / 334.1 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.3615, allocations: 26.3 kB / 334.2 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.3616, allocations: 34.53 kB / 334.2 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009409/0.3626, allocations: 351.5 kB / 334.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.3626, allocations: 0.9375 kB / 334.5 MB, free: 12.43 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.3626, allocations: 15.28 kB / 334.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.3627, allocations: 7.812 kB / 334.6 MB, free: 12.42 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006148/0.3633, allocations: 241.1 kB / 334.8 MB, free: 12.31 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.3655, allocations: 1.191 MB / 336 MB, free: 11.14 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007416/0.3663, allocations: 291.8 kB / 336.3 MB, free: 10.85 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004981/0.3668, allocations: 213.2 kB / 336.5 MB, free: 10.64 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.3678, allocations: 1.133 MB / 337.6 MB, free: 9.25 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.3679, allocations: 34.8 kB / 337.7 MB, free: 9.207 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 3.837e-06/0.3679, allocations: 0 / 337.7 MB, free: 9.207 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.00157/0.3695, allocations: 0.5476 MB / 338.2 MB, free: 8.633 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.3695, allocations: 81.11 kB / 338.3 MB, free: 8.535 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004354/0.37, allocations: 333.7 kB / 338.6 MB, free: 8.203 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.37, allocations: 33.64 kB / 338.6 MB, free: 8.164 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.3703, allocations: 216 kB / 338.8 MB, free: 7.949 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3704, allocations: 98.55 kB / 338.9 MB, free: 7.852 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.3705, allocations: 12 kB / 339 MB, free: 7.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3707, allocations: 350.8 kB / 339.3 MB, free: 7.488 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.3709, allocations: 108.6 kB / 339.4 MB, free: 7.379 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.3712, allocations: 190 kB / 339.6 MB, free: 7.164 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002941/0.3715, allocations: 136.1 kB / 339.7 MB, free: 7.031 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3716, allocations: 0 / 339.7 MB, free: 7.031 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008403/0.3724, allocations: 433.5 kB / 340.1 MB, free: 6.598 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.3724, allocations: 4 kB / 340.2 MB, free: 6.594 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.3725, allocations: 4 kB / 340.2 MB, free: 6.59 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003396/0.3728, allocations: 72.91 kB / 340.2 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.3732, allocations: 79.89 kB / 340.3 MB, free: 6.438 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/0.3754, allocations: 1.76 MB / 342.1 MB, free: 4.547 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004166/0.3758, allocations: 47.66 kB / 342.1 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.3759, allocations: 12 kB / 342.1 MB, free: 4.488 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 (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.0003299/0.3762, allocations: 157.7 kB / 342.3 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.3763, allocations: 31.62 kB / 342.3 MB, free: 4.293 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008995/0.3772, allocations: 342.2 kB / 342.6 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3773, allocations: 4 kB / 342.6 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3773, allocations: 3.953 kB / 342.6 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3773, allocations: 0 / 342.6 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.3779, allocations: 397.2 kB / 343 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3779, allocations: 4.188 kB / 343 MB, free: 3.496 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.3783, allocations: 55.95 kB / 343.1 MB, free: 3.441 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.3785, allocations: 60.77 kB / 343.2 MB, free: 3.379 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.3786, allocations: 4 kB / 343.2 MB, free: 3.375 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005154/0.3791, allocations: 0.6148 MB / 343.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3791, allocations: 0 / 343.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.3801, allocations: 0.5366 MB / 344.3 MB, free: 2.18 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.3803, allocations: 136.5 kB / 344.4 MB, free: 2.027 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.3803, allocations: 8 kB / 344.5 MB, free: 2.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3806, allocations: 31.97 kB / 344.5 MB, free: 1.988 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.3807, allocations: 19.92 kB / 344.5 MB, free: 1.969 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.3807, allocations: 7.984 kB / 344.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003076/0.381, allocations: 239.2 kB / 344.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.381, allocations: 0 / 344.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006157/0.3817, allocations: 111.8 kB / 344.9 MB, free: 1.625 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 (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.0003537/0.382, allocations: 135.2 kB / 345 MB, free: 1.48 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.3831, allocations: 422.5 kB / 345.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3832, allocations: 0 / 345.4 MB, free: 1.055 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003606/0.3835, allocations: 139.9 kB / 345.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.384, allocations: 45.69 kB / 345.6 MB, free: 0.8711 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.3858, allocations: 1.047 MB / 346.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.3863, allocations: 0.7952 MB / 347.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001778/0.3865, allocations: 42.89 kB / 347.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.3866, allocations: 23.44 kB / 347.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3866, allocations: 3.938 kB / 347.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of Templates: time 0.009327/0.3959, allocations: 3.589 MB / 351.1 MB, free: 11.31 MB / 286.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)