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.0009646/0.0009646, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009652/0.0009653, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005105/0.000511, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3593, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00305/0.3624, allocations: 2.556 MB / 329 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.364, allocations: 0.9477 MB / 330 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.3642, allocations: 4.312 kB / 330 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.643e-05/0.3643, allocations: 43.83 kB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004074/0.3647, allocations: 142.4 kB / 330.1 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002492/0.365, allocations: 107.2 kB / 330.2 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000425/0.3654, allocations: 322.1 kB / 330.6 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002611/0.3657, allocations: 100.9 kB / 330.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.366, allocations: 156.7 kB / 330.8 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.3663, allocations: 183.6 kB / 331 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.3664, allocations: 24.12 kB / 331 MB, free: 13.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.3666, allocations: 54.03 kB / 331.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.513e-05/0.3667, allocations: 68.08 kB / 331.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.3668, allocations: 95.45 kB / 331.2 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.3672, allocations: 370.2 kB / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3673, allocations: 0 / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.3673, allocations: 1.031 kB / 331.6 MB, free: 13.5 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.3673, allocations: 0 / 331.6 MB, free: 13.5 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.001347/0.3686, allocations: 0.682 MB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3687, allocations: 9.656 kB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.3688, allocations: 45.75 kB / 332.3 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.3693, allocations: 293.3 kB / 332.6 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.3693, allocations: 30.42 kB / 332.6 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/0.3694, allocations: 37.94 kB / 332.7 MB, free: 12.58 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.3701, allocations: 348.9 kB / 333 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3702, allocations: 1.031 kB / 333 MB, free: 12.37 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.3702, allocations: 11.53 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3702, allocations: 7.5 kB / 333 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.3709, allocations: 245.2 kB / 333.3 MB, free: 12.25 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002206/0.3731, allocations: 1.187 MB / 334.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.3738, allocations: 293.4 kB / 334.8 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009781/0.3748, allocations: 1.129 MB / 335.9 MB, free: 9.617 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.3748, allocations: 42.73 kB / 335.9 MB, free: 9.566 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 1.934e-06/0.3749, allocations: 0 / 335.9 MB, free: 9.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001231/0.3761, allocations: 0.4974 MB / 336.4 MB, free: 9.043 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.3762, allocations: 81.11 kB / 336.5 MB, free: 8.945 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/0.3765, allocations: 333.7 kB / 336.8 MB, free: 8.613 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.3766, allocations: 33.64 kB / 336.9 MB, free: 8.574 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.3767, allocations: 216 kB / 337.1 MB, free: 8.359 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.3768, allocations: 102.6 kB / 337.2 MB, free: 8.258 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.3768, allocations: 12 kB / 337.2 MB, free: 8.246 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.377, allocations: 346.8 kB / 337.5 MB, free: 7.898 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.3772, allocations: 108.7 kB / 337.6 MB, free: 7.789 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.3775, allocations: 182 kB / 337.8 MB, free: 7.582 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002477/0.3778, allocations: 136.1 kB / 337.9 MB, free: 7.449 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3778, allocations: 4 kB / 337.9 MB, free: 7.445 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006476/0.3784, allocations: 372.8 kB / 338.3 MB, free: 7.074 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.3785, allocations: 7.938 kB / 338.3 MB, free: 7.066 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3785, allocations: 7.953 kB / 338.3 MB, free: 7.059 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.3785, allocations: 4 kB / 338.3 MB, free: 7.055 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.3789, allocations: 104.1 kB / 338.4 MB, free: 6.953 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.379, allocations: 7.938 kB / 338.4 MB, free: 6.945 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.3792, allocations: 47.52 kB / 338.5 MB, free: 6.898 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.3793, allocations: 16 kB / 338.5 MB, free: 6.883 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.3795, allocations: 145.8 kB / 338.6 MB, free: 6.73 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.3796, allocations: 31.62 kB / 338.7 MB, free: 6.699 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007264/0.3803, allocations: 342.2 kB / 339 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3803, allocations: 4 kB / 339 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.3803, allocations: 0 / 339 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3803, allocations: 0 / 339 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.3809, allocations: 393.2 kB / 339.4 MB, free: 5.914 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3809, allocations: 3.953 kB / 339.4 MB, free: 5.91 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.3812, allocations: 63.89 kB / 339.5 MB, free: 5.848 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002813/0.3815, allocations: 36.84 kB / 339.5 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.3816, allocations: 11.98 kB / 339.5 MB, free: 5.797 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005232/0.3821, allocations: 0.5602 MB / 340.1 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3821, allocations: 0 / 340.1 MB, free: 5.211 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.3832, allocations: 0.5327 MB / 340.6 MB, free: 4.66 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.3834, allocations: 140.5 kB / 340.7 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.3834, allocations: 4 kB / 340.7 MB, free: 4.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.3837, allocations: 27.98 kB / 340.8 MB, free: 4.473 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.3838, allocations: 23.98 kB / 340.8 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.3838, allocations: 12 kB / 340.8 MB, free: 4.438 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.3842, allocations: 243.1 kB / 341 MB, free: 4.207 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3842, allocations: 0 / 341 MB, free: 4.207 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004872/0.3847, allocations: 103.8 kB / 341.1 MB, free: 4.105 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 (23): * Single equations (assignments): 22 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000296/0.385, allocations: 135.2 kB / 341.3 MB, free: 3.965 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006318/0.3856, allocations: 264.1 kB / 341.5 MB, free: 3.707 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3856, allocations: 8.125 kB / 341.5 MB, free: 3.699 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003638/0.386, allocations: 143.8 kB / 341.7 MB, free: 3.559 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3864, allocations: 41.36 kB / 341.7 MB, free: 3.516 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.3879, allocations: 1.031 MB / 342.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.3883, allocations: 0.7994 MB / 343.5 MB, free: 1.633 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.3885, allocations: 42.89 kB / 343.6 MB, free: 1.59 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.3886, allocations: 31.42 kB / 343.6 MB, free: 1.559 MB / 270.1 MB Notification: Performance of SimCode: time 1.753e-06/0.3886, allocations: 0 / 343.6 MB, free: 1.559 MB / 270.1 MB Notification: Performance of Templates: time 0.007983/0.3966, allocations: 3.183 MB / 346.8 MB, free: 14.38 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: