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.001415/0.001415, 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.001849/0.001848, allocations: 192.8 kB / 16.13 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.632/1.632, allocations: 205.1 MB / 222 MB, free: 4.762 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.001141/0.001141, allocations: 51.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2352, allocations: 46.62 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004079/0.2394, allocations: 3.232 MB / 327.9 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.2413, allocations: 1.001 MB / 328.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.2416, allocations: 3.562 kB / 328.9 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.2418, allocations: 44.5 kB / 329 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003396/0.2421, allocations: 104 kB / 329.1 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.2424, allocations: 116.7 kB / 329.2 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.2429, allocations: 475 kB / 329.6 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002324/0.2431, allocations: 107.1 kB / 329.7 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.2433, allocations: 172.5 kB / 329.9 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.2436, allocations: 196.1 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.2436, allocations: 28.39 kB / 330.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.2438, allocations: 62 kB / 330.2 MB, free: 13.72 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.767e-05/0.2439, allocations: 83.98 kB / 330.3 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.244, allocations: 193.6 kB / 330.5 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.2445, allocations: 485.5 kB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.2445, allocations: 4 kB / 330.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.2445, allocations: 0 / 330.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2445, allocations: 0 / 330.9 MB, free: 13.17 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.001326/0.2459, allocations: 0.7303 MB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2459, allocations: 9.906 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.588e-05/0.246, allocations: 50.31 kB / 331.7 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.2464, allocations: 310.8 kB / 332 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.2464, allocations: 26.81 kB / 332.1 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.2465, allocations: 34.53 kB / 332.1 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006562/0.2471, allocations: 349.8 kB / 332.4 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.2472, allocations: 0 / 332.4 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2472, allocations: 15.5 kB / 332.4 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.2472, allocations: 6.75 kB / 332.5 MB, free: 11.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.2477, allocations: 240.2 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.2496, allocations: 1.174 MB / 333.9 MB, free: 10.78 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.2503, allocations: 292 kB / 334.1 MB, free: 10.48 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/0.2507, allocations: 209.3 kB / 334.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000802/0.2515, allocations: 1.117 MB / 335.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2516, allocations: 38.8 kB / 335.5 MB, free: 8.855 MB / 270.1 MB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.2516, allocations: 0 / 335.5 MB, free: 8.855 MB / 270.1 MB Notification: Performance of matching and sorting (n=27): time 0.00136/0.253, allocations: 0.5358 MB / 336 MB, free: 8.293 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.253, allocations: 81.11 kB / 336.1 MB, free: 8.195 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.2534, allocations: 333.7 kB / 336.4 MB, free: 7.863 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.2534, allocations: 37.7 kB / 336.5 MB, free: 7.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.2536, allocations: 212.1 kB / 336.7 MB, free: 7.609 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.2537, allocations: 98.61 kB / 336.8 MB, free: 7.512 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2538, allocations: 69.97 kB / 336.9 MB, free: 7.434 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2539, allocations: 354.7 kB / 337.2 MB, free: 7.078 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2541, allocations: 100.7 kB / 337.3 MB, free: 6.98 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.2544, allocations: 189.7 kB / 337.5 MB, free: 6.766 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.2549, allocations: 295.7 kB / 337.8 MB, free: 6.449 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2549, allocations: 3.984 kB / 337.8 MB, free: 6.445 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007552/0.2557, allocations: 429.4 kB / 338.2 MB, free: 6.016 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2557, allocations: 8 kB / 338.2 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2557, allocations: 0 / 338.2 MB, free: 6.008 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.256, allocations: 68.81 kB / 338.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.2563, allocations: 79.89 kB / 338.4 MB, free: 5.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.2584, allocations: 1.756 MB / 340.1 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.2587, allocations: 39.58 kB / 340.1 MB, free: 3.934 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.2587, allocations: 20.12 kB / 340.2 MB, free: 3.914 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.0001586/0.2589, allocations: 153.8 kB / 340.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.17e-05/0.259, allocations: 43.41 kB / 340.4 MB, free: 3.711 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.2597, allocations: 334.3 kB / 340.7 MB, free: 3.371 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.2598, allocations: 4 kB / 340.7 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.2598, allocations: 0 / 340.7 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2598, allocations: 0 / 340.7 MB, free: 3.367 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004208/0.2602, allocations: 393.2 kB / 341.1 MB, free: 2.934 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2602, allocations: 4 kB / 341.1 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003337/0.2605, allocations: 59.91 kB / 341.1 MB, free: 2.871 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.2608, allocations: 60.8 kB / 341.2 MB, free: 2.809 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.2608, allocations: 4 kB / 341.2 MB, free: 2.805 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005047/0.2613, allocations: 0.6147 MB / 341.8 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2613, allocations: 0 / 341.8 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.2623, allocations: 0.5092 MB / 342.3 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.2624, allocations: 136.7 kB / 342.5 MB, free: 1.484 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/0.2625, allocations: 11.98 kB / 342.5 MB, free: 1.473 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.2628, allocations: 19.98 kB / 342.5 MB, free: 1.453 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.182e-05/0.2628, allocations: 15.97 kB / 342.5 MB, free: 1.438 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.2629, allocations: 8 kB / 342.5 MB, free: 1.43 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.2631, allocations: 239.2 kB / 342.7 MB, free: 1.203 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2632, allocations: 3.938 kB / 342.7 MB, free: 1.199 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005091/0.2637, allocations: 111.8 kB / 342.9 MB, free: 1.09 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.000277/0.264, allocations: 131.3 kB / 343 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0009325/0.2649, allocations: 418.9 kB / 343.4 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.2649, allocations: 4.125 kB / 343.4 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003578/0.2653, allocations: 135.9 kB / 343.5 MB, free: 400 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.2659, allocations: 41.3 kB / 343.6 MB, free: 356 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.2673, allocations: 0.9934 MB / 344.6 MB, free: 15.33 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2677, allocations: 0.795 MB / 345.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.2679, allocations: 46.88 kB / 345.4 MB, free: 14.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.268, allocations: 31.38 kB / 345.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.268, allocations: 0 / 345.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Templates: time 0.007873/0.2759, allocations: 3.754 MB / 349.2 MB, free: 10.67 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (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)