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.0015/0.0015, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001994, allocations: 194.9 kB / 16.25 MB, free: 6.637 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.777/1.777, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001267/0.001267, allocations: 55.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2489, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003895/0.2528, allocations: 3.232 MB / 328.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2548, allocations: 0.9868 MB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.255, allocations: 8.469 kB / 329.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.2552, allocations: 43.83 kB / 329.1 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.2556, allocations: 108.2 kB / 329.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.2559, allocations: 125.3 kB / 329.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.2564, allocations: 480.2 kB / 329.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.2567, allocations: 136.3 kB / 329.9 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.2569, allocations: 193 kB / 330.1 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.2572, allocations: 207.8 kB / 330.3 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.753e-05/0.2573, allocations: 40.5 kB / 330.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2575, allocations: 75.81 kB / 330.5 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.806e-05/0.2575, allocations: 96.67 kB / 330.5 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.2577, allocations: 214.3 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.2583, allocations: 497.1 kB / 331.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2583, allocations: 0 / 331.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2583, allocations: 3.938 kB / 331.2 MB, free: 13.09 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.2583, allocations: 1.062 kB / 331.2 MB, free: 13.09 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.001383/0.2597, allocations: 0.7335 MB / 332 MB, free: 12.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.2598, allocations: 9.094 kB / 332 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.2599, allocations: 51.41 kB / 332 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.2603, allocations: 311.1 kB / 332.3 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.386e-05/0.2603, allocations: 26.03 kB / 332.4 MB, free: 12.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.003e-05/0.2604, allocations: 35.12 kB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.2611, allocations: 352.5 kB / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.2611, allocations: 1.375 kB / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.2612, allocations: 14.75 kB / 332.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.2612, allocations: 11.69 kB / 332.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.2617, allocations: 232.6 kB / 333 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.2637, allocations: 1.175 MB / 334.2 MB, free: 10.57 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.2644, allocations: 279.5 kB / 334.4 MB, free: 10.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/0.2649, allocations: 213.3 kB / 334.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000937/0.2658, allocations: 1.113 MB / 335.8 MB, free: 8.707 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2658, allocations: 42.8 kB / 335.8 MB, free: 8.656 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 1.453e-06/0.2659, allocations: 0 / 335.8 MB, free: 8.656 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.001299/0.2672, allocations: 0.5318 MB / 336.3 MB, free: 8.098 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.2672, allocations: 81.11 kB / 336.4 MB, free: 8 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.2676, allocations: 337.7 kB / 336.8 MB, free: 7.664 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.2676, allocations: 29.7 kB / 336.8 MB, free: 7.629 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.2678, allocations: 216.1 kB / 337 MB, free: 7.414 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.2678, allocations: 102.6 kB / 337.1 MB, free: 7.312 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.268, allocations: 69.98 kB / 337.2 MB, free: 7.234 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.2681, allocations: 354.7 kB / 337.5 MB, free: 6.879 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.2683, allocations: 104.7 kB / 337.6 MB, free: 6.777 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.2686, allocations: 181.8 kB / 337.8 MB, free: 6.57 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.2691, allocations: 299.7 kB / 338.1 MB, free: 6.25 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2691, allocations: 0 / 338.1 MB, free: 6.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007992/0.2699, allocations: 433.3 kB / 338.5 MB, free: 5.816 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.2699, allocations: 4 kB / 338.5 MB, free: 5.812 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.27, allocations: 4 kB / 338.5 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003088/0.2703, allocations: 68.81 kB / 338.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.2706, allocations: 75.83 kB / 338.7 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.2727, allocations: 1.962 MB / 340.6 MB, free: 3.566 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.273, allocations: 35.67 kB / 340.6 MB, free: 3.531 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.2731, allocations: 16 kB / 340.7 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.0002051/0.2733, allocations: 157.7 kB / 340.8 MB, free: 3.352 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.2734, allocations: 35.53 kB / 340.9 MB, free: 3.316 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007432/0.2741, allocations: 334.3 kB / 341.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2741, allocations: 0 / 341.2 MB, free: 2.977 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2742, allocations: 3.938 kB / 341.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.2742, allocations: 7.984 kB / 341.2 MB, free: 2.965 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.2746, allocations: 385.2 kB / 341.6 MB, free: 2.539 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2746, allocations: 0 / 341.6 MB, free: 2.539 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.275, allocations: 63.89 kB / 341.6 MB, free: 2.477 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001853/0.2752, allocations: 64.81 kB / 341.7 MB, free: 2.41 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.2752, allocations: 4 kB / 341.7 MB, free: 2.406 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000416/0.2756, allocations: 0.6187 MB / 342.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2756, allocations: 0 / 342.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.2765, allocations: 0.5131 MB / 342.8 MB, free: 1.23 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.2767, allocations: 132.6 kB / 343 MB, free: 1.082 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.2767, allocations: 12.06 kB / 343 MB, free: 1.07 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00026/0.277, allocations: 19.98 kB / 343 MB, free: 1.051 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.2771, allocations: 19.97 kB / 343 MB, free: 1.031 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2771, allocations: 4 kB / 343 MB, free: 1.027 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002732/0.2774, allocations: 247.2 kB / 343.3 MB, free: 0.793 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2774, allocations: 192 / 343.3 MB, free: 0.793 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.2779, allocations: 103.8 kB / 343.4 MB, free: 0.6914 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.0002548/0.2782, allocations: 131.1 kB / 343.5 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009113/0.2791, allocations: 426.3 kB / 343.9 MB, free: 124 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.2791, allocations: 4.438 kB / 343.9 MB, free: 120 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.2795, allocations: 139.9 kB / 344 MB, free: 15.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004559/0.2799, allocations: 45.25 kB / 344.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.2814, allocations: 1.004 MB / 345.1 MB, free: 14.9 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.2817, allocations: 0.7912 MB / 345.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.2819, allocations: 34.95 kB / 345.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.282, allocations: 31.44 kB / 345.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.282, allocations: 4 kB / 346 MB, free: 14.01 MB / 286.1 MB Notification: Performance of Templates: time 0.00785/0.2898, allocations: 3.902 MB / 349.9 MB, free: 10.11 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)