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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 98.27 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.007862/0.007862, allocations: 172.8 kB / 16.27 MB, free: 6.652 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.626/1.626, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.000524/0.0005242, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3625, allocations: 47.58 MB / 327 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003557/0.3661, allocations: 2.849 MB / 329.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3683, allocations: 0.9901 MB / 330.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.3686, allocations: 3.438 kB / 330.9 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.3688, allocations: 41.52 kB / 330.9 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006042/0.3694, allocations: 110.9 kB / 331 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.3698, allocations: 120.1 kB / 331.1 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005219/0.3704, allocations: 463.9 kB / 331.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.3706, allocations: 110.1 kB / 331.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.3709, allocations: 166.3 kB / 331.9 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.3712, allocations: 183.7 kB / 332 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.411e-05/0.3712, allocations: 24.03 kB / 332.1 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.3714, allocations: 53.62 kB / 332.1 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.3715, allocations: 80.14 kB / 332.2 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.3717, allocations: 213.1 kB / 332.4 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004678/0.3722, allocations: 477.5 kB / 332.9 MB, free: 12.94 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3722, allocations: 1.25 kB / 332.9 MB, free: 12.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3722, allocations: 0 / 332.9 MB, free: 12.94 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3722, allocations: 0 / 332.9 MB, free: 12.94 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.001308/0.3735, allocations: 0.6752 MB / 333.5 MB, free: 12.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3736, allocations: 9.625 kB / 333.6 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.3737, allocations: 50.78 kB / 333.6 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.3741, allocations: 302.6 kB / 333.9 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.3741, allocations: 22.25 kB / 333.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.415e-05/0.3742, allocations: 43.09 kB / 334 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.3751, allocations: 358.5 kB / 334.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3751, allocations: 0 / 334.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.043e-05/0.3752, allocations: 15.31 kB / 334.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.3752, allocations: 8.375 kB / 334.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005552/0.3757, allocations: 247.8 kB / 334.6 MB, free: 11.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/0.3779, allocations: 1.188 MB / 335.8 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/0.3786, allocations: 291.5 kB / 336.1 MB, free: 10.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.3791, allocations: 213.2 kB / 336.3 MB, free: 9.918 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008911/0.38, allocations: 1.125 MB / 337.4 MB, free: 8.535 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.3801, allocations: 38.73 kB / 337.4 MB, free: 8.488 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 2.615e-06/0.3801, allocations: 4 kB / 337.4 MB, free: 8.484 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.00146/0.3816, allocations: 0.5476 MB / 338 MB, free: 7.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.3816, allocations: 81.11 kB / 338.1 MB, free: 7.812 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.382, allocations: 337.6 kB / 338.4 MB, free: 7.477 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.3821, allocations: 37.7 kB / 338.4 MB, free: 7.434 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.3822, allocations: 216.1 kB / 338.6 MB, free: 7.219 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.3823, allocations: 98.69 kB / 338.7 MB, free: 7.121 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.277e-05/0.3824, allocations: 41.69 kB / 338.8 MB, free: 7.074 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3825, allocations: 342.8 kB / 339.1 MB, free: 6.73 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.3828, allocations: 116.6 kB / 339.2 MB, free: 6.613 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.383, allocations: 193.7 kB / 339.4 MB, free: 6.395 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005073/0.3836, allocations: 311.7 kB / 339.7 MB, free: 6.062 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.3836, allocations: 0 / 339.7 MB, free: 6.062 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008292/0.3844, allocations: 445.4 kB / 340.1 MB, free: 5.617 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.3844, allocations: 8 kB / 340.2 MB, free: 5.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3845, allocations: 4 kB / 340.2 MB, free: 5.605 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002921/0.3848, allocations: 64.81 kB / 340.2 MB, free: 5.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.3851, allocations: 71.91 kB / 340.3 MB, free: 5.469 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.387, allocations: 1.772 MB / 342.1 MB, free: 3.566 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.3873, allocations: 43.67 kB / 342.1 MB, free: 3.523 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.3874, allocations: 8 kB / 342.1 MB, free: 3.516 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.0002174/0.3876, allocations: 157.7 kB / 342.3 MB, free: 3.352 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.075e-05/0.3877, allocations: 39.47 kB / 342.3 MB, free: 3.312 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.3885, allocations: 346.3 kB / 342.6 MB, free: 2.961 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3885, allocations: 4 kB / 342.6 MB, free: 2.957 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3885, allocations: 4 kB / 342.7 MB, free: 2.953 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.3885, allocations: 7.984 kB / 342.7 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.389, allocations: 393.2 kB / 343 MB, free: 2.512 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3891, allocations: 192 / 343 MB, free: 2.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.3894, allocations: 59.89 kB / 343.1 MB, free: 2.453 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.3896, allocations: 72.8 kB / 343.2 MB, free: 2.379 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.559e-05/0.3897, allocations: 11.98 kB / 343.2 MB, free: 2.367 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004232/0.3901, allocations: 0.603 MB / 343.8 MB, free: 1.738 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3901, allocations: 0 / 343.8 MB, free: 1.738 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3911, allocations: 0.5444 MB / 344.3 MB, free: 1.176 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3913, allocations: 132.6 kB / 344.5 MB, free: 1.027 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.417e-05/0.3914, allocations: 4 kB / 344.5 MB, free: 1.023 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.3916, allocations: 27.98 kB / 344.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.3917, allocations: 15.97 kB / 344.5 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.3917, allocations: 12 kB / 344.5 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002623/0.392, allocations: 239.2 kB / 344.8 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.495e-06/0.392, allocations: 0 / 344.8 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005402/0.3926, allocations: 115.8 kB / 344.9 MB, free: 0.6289 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.0002499/0.3928, allocations: 127.3 kB / 345 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009078/0.3937, allocations: 422.3 kB / 345.4 MB, free: 68 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3938, allocations: 0 / 345.4 MB, free: 68 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.3942, allocations: 143.9 kB / 345.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.3946, allocations: 53.8 kB / 345.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.3964, allocations: 1.086 MB / 346.7 MB, free: 14.75 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.3969, allocations: 0.7911 MB / 347.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.3971, allocations: 38.95 kB / 347.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.698e-05/0.3972, allocations: 31.36 kB / 347.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3972, allocations: 0 / 347.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of Templates: time 0.009212/0.4064, allocations: 3.703 MB / 351.2 MB, free: 10.16 MB / 286.1 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)