Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001564/0.001564, allocations: 182.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.637/1.637, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001873/0.001873, allocations: 120.7 kB / 253.5 MB, free: 9.57 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.67e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08704, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3528/0.4399, allocations: 74.85 MB / 424.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4402, allocations: 63.75 kB / 424.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02077/0.461, allocations: 8.344 MB / 432.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.461, allocations: 0 / 432.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.461, allocations: 11.62 kB / 432.7 MB, free: 7.949 MB / 298.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.0009238/0.462, allocations: 0.6188 MB / 433.3 MB, free: 7.445 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.462, allocations: 15.56 kB / 433.3 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.221e-05/0.4621, allocations: 50.45 kB / 433.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.4625, allocations: 296.4 kB / 433.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.4625, allocations: 22.31 kB / 433.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.4626, allocations: 40.25 kB / 433.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.4631, allocations: 328.8 kB / 434.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4631, allocations: 0 / 434.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.4632, allocations: 14.44 kB / 434.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.4632, allocations: 7.812 kB / 434.1 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.4635, allocations: 212.6 kB / 434.3 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.4652, allocations: 1.18 MB / 435.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004266/0.4656, allocations: 246.3 kB / 435.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003631/0.466, allocations: 194.5 kB / 435.9 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.4666, allocations: 1.122 MB / 437 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4666, allocations: 46.25 kB / 437.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.613e-06/0.4666, allocations: 3.938 kB / 437.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005474/0.4672, allocations: 282.3 kB / 437.4 MB, free: 4.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4672, allocations: 88.92 kB / 437.4 MB, free: 4.715 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.4675, allocations: 298.1 kB / 437.7 MB, free: 4.586 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/0.4675, allocations: 33.17 kB / 437.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4677, allocations: 216.1 kB / 438 MB, free: 4.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.4677, allocations: 100.2 kB / 438.1 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.4677, allocations: 3.812 kB / 438.1 MB, free: 4.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.282e-05/0.4678, allocations: 348.2 kB / 438.4 MB, free: 4.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.468, allocations: 89.19 kB / 438.5 MB, free: 4.012 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.4682, allocations: 176.4 kB / 438.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.4683, allocations: 102.7 kB / 438.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4684, allocations: 4.031 kB / 438.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005697/0.4689, allocations: 397 kB / 439.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.469, allocations: 3.875 kB / 439.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.469, allocations: 8.062 kB / 439.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.4692, allocations: 72.2 kB / 439.2 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.4695, allocations: 80.47 kB / 439.3 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.4708, allocations: 1.746 MB / 441.1 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.4711, allocations: 53.39 kB / 441.1 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4711, allocations: 11.75 kB / 441.1 MB, free: 2.281 MB / 298.7 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 () * 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 (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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.4712, allocations: 129.6 kB / 441.3 MB, free: 2.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.497e-05/0.4713, allocations: 34.91 kB / 441.3 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004848/0.4718, allocations: 310.6 kB / 441.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.4718, allocations: 3.969 kB / 441.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4718, allocations: 0 / 441.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.4718, allocations: 7.938 kB / 441.6 MB, free: 2.039 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.4722, allocations: 391.8 kB / 442 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4722, allocations: 0 / 442 MB, free: 1.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.4725, allocations: 69.7 kB / 442.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001724/0.4727, allocations: 54.14 kB / 442.1 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.4728, allocations: 7.859 kB / 442.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002735/0.473, allocations: 0.6036 MB / 442.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.473, allocations: 4 kB / 442.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000572/0.4736, allocations: 0.4917 MB / 443.2 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.4737, allocations: 131.3 kB / 443.3 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.4738, allocations: 7.75 kB / 443.4 MB, free: 0.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.474, allocations: 31.09 kB / 443.4 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.11e-05/0.4741, allocations: 15.58 kB / 443.4 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.4741, allocations: 11.7 kB / 443.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000175/0.4743, allocations: 231.3 kB / 443.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4743, allocations: 3.812 kB / 443.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004049/0.4747, allocations: 103.9 kB / 443.7 MB, free: 0.7461 MB / 298.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.0001954/0.4749, allocations: 145.5 kB / 443.9 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005476/0.4755, allocations: 386.5 kB / 444.3 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4755, allocations: 0 / 444.3 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.4757, allocations: 130.9 kB / 444.4 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.476, allocations: 36.8 kB / 444.4 MB, free: 472 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000841/0.4768, allocations: 0.6673 MB / 445.1 MB, free: 32 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.4773, allocations: 0.8009 MB / 445.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.4774, allocations: 38.64 kB / 445.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.4775, allocations: 34.73 kB / 446 MB, free: 15.24 MB / 314.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4775, allocations: 0 / 446 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Templates: time 0.007769/0.4853, allocations: 3.576 MB / 449.5 MB, free: 11.94 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)