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.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001995/0.001995, allocations: 196.8 kB / 16.14 MB, free: 6.707 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.552/1.552, allocations: 205.1 MB / 222 MB, free: 4.766 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.001565/0.001565, allocations: 51.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2642, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004769/0.2691, allocations: 3.223 MB / 327.9 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.271, allocations: 0.9975 MB / 328.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002032/0.2712, allocations: 3.969 kB / 328.9 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.2714, allocations: 44.5 kB / 328.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.2718, allocations: 115.4 kB / 329.1 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.2722, allocations: 121.5 kB / 329.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004985/0.2727, allocations: 466.8 kB / 329.6 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.2729, allocations: 107.2 kB / 329.7 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.2732, allocations: 176.1 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2734, allocations: 199.3 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.2735, allocations: 25.59 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.2737, allocations: 57.94 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.2737, allocations: 88 kB / 330.3 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.274, allocations: 193.9 kB / 330.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.2745, allocations: 488.7 kB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2745, allocations: 0 / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2745, allocations: 1.312 kB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.2745, allocations: 0 / 330.9 MB, free: 13.18 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.001472/0.276, allocations: 0.7332 MB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.276, allocations: 9.812 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.2762, allocations: 47.06 kB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.2766, allocations: 305.9 kB / 332 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.2766, allocations: 27.31 kB / 332.1 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.2767, allocations: 38.97 kB / 332.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.2774, allocations: 356.2 kB / 332.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.2774, allocations: 1.188 kB / 332.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.2774, allocations: 10.31 kB / 332.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.2775, allocations: 7.844 kB / 332.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005224/0.278, allocations: 236.8 kB / 332.7 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.28, allocations: 1.183 MB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.2807, allocations: 276.1 kB / 334.1 MB, free: 10.49 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.2812, allocations: 209.2 kB / 334.3 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007684/0.2819, allocations: 1.121 MB / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.282, allocations: 38.73 kB / 335.5 MB, free: 8.855 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.282, allocations: 0 / 335.5 MB, free: 8.855 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001305/0.2833, allocations: 0.528 MB / 336 MB, free: 8.301 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.2834, allocations: 85.11 kB / 336.1 MB, free: 8.199 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.2837, allocations: 337.7 kB / 336.4 MB, free: 7.863 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.2838, allocations: 29.7 kB / 336.5 MB, free: 7.828 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.2839, allocations: 216.1 kB / 336.7 MB, free: 7.613 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.112e-05/0.284, allocations: 98.61 kB / 336.8 MB, free: 7.516 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2841, allocations: 73.97 kB / 336.9 MB, free: 7.434 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2843, allocations: 350.7 kB / 337.2 MB, free: 7.082 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.2845, allocations: 100.7 kB / 337.3 MB, free: 6.984 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002767/0.2848, allocations: 193.7 kB / 337.5 MB, free: 6.766 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.2853, allocations: 291.7 kB / 337.8 MB, free: 6.453 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2853, allocations: 3.938 kB / 337.8 MB, free: 6.449 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007861/0.2861, allocations: 433.1 kB / 338.2 MB, free: 6.016 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.2862, allocations: 4 kB / 338.2 MB, free: 6.012 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2862, allocations: 4.25 kB / 338.2 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.2864, allocations: 68.81 kB / 338.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/0.2868, allocations: 79.89 kB / 338.3 MB, free: 5.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.2886, allocations: 1.748 MB / 340.1 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.2889, allocations: 47.58 kB / 340.1 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/0.289, allocations: 16 kB / 340.2 MB, free: 3.918 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.0001876/0.2892, allocations: 149.7 kB / 340.3 MB, free: 3.762 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.2892, allocations: 47.45 kB / 340.4 MB, free: 3.715 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.29, allocations: 334.2 kB / 340.7 MB, free: 3.375 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.29, allocations: 7.984 kB / 340.7 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.29, allocations: 0 / 340.7 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.29, allocations: 0 / 340.7 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.2905, allocations: 393.2 kB / 341.1 MB, free: 2.934 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2905, allocations: 3.984 kB / 341.1 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.2909, allocations: 59.91 kB / 341.1 MB, free: 2.871 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.2911, allocations: 64.81 kB / 341.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.2911, allocations: 8 kB / 341.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004528/0.2916, allocations: 0.6109 MB / 341.8 MB, free: 2.16 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2916, allocations: 0 / 341.8 MB, free: 2.16 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009602/0.2926, allocations: 0.5171 MB / 342.3 MB, free: 1.625 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.2928, allocations: 132.6 kB / 342.5 MB, free: 1.477 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.2928, allocations: 4 kB / 342.5 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.2931, allocations: 19.98 kB / 342.5 MB, free: 1.453 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.478e-05/0.2932, allocations: 19.97 kB / 342.5 MB, free: 1.434 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.2932, allocations: 12 kB / 342.5 MB, free: 1.422 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.2935, allocations: 243.2 kB / 342.8 MB, free: 1.191 MB / 270.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2935, allocations: 0 / 342.8 MB, free: 1.191 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000558/0.2941, allocations: 107.8 kB / 342.9 MB, free: 1.086 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.0003158/0.2944, allocations: 123.2 kB / 343 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009247/0.2954, allocations: 426.5 kB / 343.4 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2954, allocations: 0 / 343.4 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.2957, allocations: 131.9 kB / 343.5 MB, free: 404 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.2962, allocations: 54.36 kB / 343.6 MB, free: 348 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2979, allocations: 0.9935 MB / 344.6 MB, free: 15.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.2983, allocations: 0.795 MB / 345.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.2985, allocations: 34.95 kB / 345.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.2986, allocations: 31.42 kB / 345.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2986, allocations: 3.938 kB / 345.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Templates: time 0.008911/0.3075, allocations: 3.746 MB / 349.2 MB, free: 10.68 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)