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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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/Modelica 3.1.0+maint.om/package.mo): time 0.909/0.909, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001648/0.001648, allocations: 143.5 kB / 149.1 MB, free: 1.004 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.388e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05075/0.05079, allocations: 25.18 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05117/0.102, allocations: 36.39 MB / 241.8 MB, free: 3.973 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001863/0.1022, allocations: 59.95 kB / 241.8 MB, free: 3.914 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.143/0.2453, allocations: 8.342 MB / 250.2 MB, free: 42.44 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2453, allocations: 0 / 250.2 MB, free: 42.44 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.812e-05/0.2454, allocations: 7.531 kB / 250.2 MB, free: 42.44 MB / 186.7 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.0009405/0.2463, allocations: 0.6247 MB / 250.8 MB, free: 41.96 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.2464, allocations: 9.156 kB / 250.8 MB, free: 41.96 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.95e-05/0.2465, allocations: 46.03 kB / 250.9 MB, free: 41.93 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.2468, allocations: 293.6 kB / 251.2 MB, free: 41.67 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/0.2468, allocations: 25.31 kB / 251.2 MB, free: 41.66 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/0.2469, allocations: 32.95 kB / 251.2 MB, free: 41.65 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.2475, allocations: 325.8 kB / 251.5 MB, free: 41.49 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.2475, allocations: 7.703 kB / 251.5 MB, free: 41.48 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.2475, allocations: 12.47 kB / 251.6 MB, free: 41.48 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2475, allocations: 6.781 kB / 251.6 MB, free: 41.48 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000407/0.248, allocations: 211.5 kB / 251.8 MB, free: 41.4 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.2498, allocations: 1.175 MB / 252.9 MB, free: 40.67 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.2502, allocations: 247.5 kB / 253.2 MB, free: 40.55 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.2506, allocations: 194.7 kB / 253.4 MB, free: 40.48 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.2512, allocations: 1.124 MB / 254.5 MB, free: 39.16 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.2512, allocations: 36.94 kB / 254.5 MB, free: 39.11 MB / 186.7 MB Notification: Performance of pre-optimization done (n=27): time 1.963e-06/0.2512, allocations: 1.156 kB / 254.5 MB, free: 39.11 MB / 186.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006263/0.2518, allocations: 285.2 kB / 254.8 MB, free: 38.96 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.2519, allocations: 83.48 kB / 254.9 MB, free: 38.86 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.2522, allocations: 296.9 kB / 255.2 MB, free: 38.69 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2523, allocations: 31.98 kB / 255.2 MB, free: 38.65 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.2524, allocations: 218 kB / 255.4 MB, free: 38.46 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.2524, allocations: 103.5 kB / 255.5 MB, free: 38.37 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.2524, allocations: 9.594 kB / 255.5 MB, free: 38.36 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.2525, allocations: 346 kB / 255.9 MB, free: 38.02 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.2527, allocations: 82.42 kB / 256 MB, free: 37.98 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.2528, allocations: 164 kB / 256.1 MB, free: 37.85 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.253, allocations: 111.8 kB / 256.2 MB, free: 37.79 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.253, allocations: 3.938 kB / 256.2 MB, free: 37.79 MB / 186.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005169/0.2535, allocations: 378.2 kB / 256.6 MB, free: 37.59 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2536, allocations: 7.844 kB / 256.6 MB, free: 37.59 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2536, allocations: 3.969 kB / 256.6 MB, free: 37.59 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.2538, allocations: 64.33 kB / 256.7 MB, free: 37.56 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.2541, allocations: 91.42 kB / 256.8 MB, free: 37.54 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003112/0.2545, allocations: 0.6153 MB / 257.4 MB, free: 36.96 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.2547, allocations: 42.83 kB / 257.4 MB, free: 36.93 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.2548, allocations: 19.75 kB / 257.4 MB, free: 36.92 MB / 186.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" ) type: Real opAmp.q_fr3:VARIABLE() type: Real opAmp.q_fr2:VARIABLE() type: Real opAmp.q_fr1:VARIABLE() type: Real opAmp.v_in:VARIABLE(unit = "V" ) type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001548/0.2549, allocations: 124.7 kB / 257.6 MB, free: 36.8 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.255, allocations: 34.73 kB / 257.6 MB, free: 36.78 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004904/0.2555, allocations: 318.7 kB / 257.9 MB, free: 36.59 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.2555, allocations: 7.719 kB / 257.9 MB, free: 36.59 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2555, allocations: 3.984 kB / 257.9 MB, free: 36.58 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2555, allocations: 0 / 257.9 MB, free: 36.58 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.2559, allocations: 398.2 kB / 258.3 MB, free: 36.23 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2559, allocations: 0 / 258.3 MB, free: 36.23 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.2562, allocations: 50.16 kB / 258.4 MB, free: 36.23 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.2564, allocations: 71.98 kB / 258.4 MB, free: 36.19 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.2564, allocations: 11.36 kB / 258.4 MB, free: 36.18 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002748/0.2567, allocations: 0.5978 MB / 259 MB, free: 35.61 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2567, allocations: 0 / 259 MB, free: 35.61 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.2573, allocations: 0.4912 MB / 259.5 MB, free: 35.3 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2574, allocations: 137.1 kB / 259.7 MB, free: 35.16 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.2575, allocations: 7.906 kB / 259.7 MB, free: 35.16 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2577, allocations: 27.39 kB / 259.7 MB, free: 35.14 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.2578, allocations: 15.69 kB / 259.7 MB, free: 35.14 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.2578, allocations: 11.56 kB / 259.7 MB, free: 35.13 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001803/0.258, allocations: 228.3 kB / 259.9 MB, free: 34.99 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.258, allocations: 0 / 259.9 MB, free: 34.99 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.2584, allocations: 111.8 kB / 260.1 MB, free: 34.88 MB / 186.7 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 () * 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 (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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001817/0.2586, allocations: 131.1 kB / 260.2 MB, free: 34.74 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004581/0.259, allocations: 263.8 kB / 260.4 MB, free: 34.48 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2591, allocations: 0 / 260.4 MB, free: 34.48 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.2593, allocations: 120.4 kB / 260.6 MB, free: 34.36 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.2596, allocations: 59.86 kB / 260.6 MB, free: 34.3 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.2606, allocations: 0.6734 MB / 261.3 MB, free: 33.61 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001706/0.2607, allocations: 0.7994 MB / 262.1 MB, free: 32.79 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.2609, allocations: 34.91 kB / 262.1 MB, free: 32.75 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.829e-05/0.261, allocations: 43.36 kB / 262.2 MB, free: 32.7 MB / 186.7 MB Notification: Performance of SimCode: time 2.4e-07/0.261, allocations: 0 / 262.2 MB, free: 32.7 MB / 186.7 MB Notification: Performance of Templates: time 0.006271/0.2673, allocations: 3.593 MB / 265.8 MB, free: 29.12 MB / 186.7 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)