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.006265/0.006264, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001317/0.001317, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.407/1.407, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001566/0.001566, allocations: 51.92 kB / 326.6 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1057, allocations: 46.61 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004372/0.1101, allocations: 3.182 MB / 376.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1117, allocations: 1.006 MB / 377.4 MB, free: 364 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1119, allocations: 4 kB / 377.4 MB, free: 360 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.1121, allocations: 59.36 kB / 377.4 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003922/0.1125, allocations: 130.9 kB / 377.5 MB, free: 168 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1129, allocations: 147.6 kB / 377.7 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2175/0.3304, allocations: 484.8 kB / 378.2 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004044/0.3309, allocations: 140.2 kB / 378.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004635/0.3314, allocations: 184.6 kB / 378.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.3317, allocations: 212.5 kB / 378.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.788e-05/0.3318, allocations: 39.88 kB / 378.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002589/0.3321, allocations: 73.3 kB / 378.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.3322, allocations: 91.25 kB / 378.9 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.3324, allocations: 214.8 kB / 379.1 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.3332, allocations: 0.4991 MB / 379.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3332, allocations: 1.484 kB / 379.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.3332, allocations: 0.5 kB / 379.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3332, allocations: 0 / 379.6 MB, free: 9.652 MB / 318.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.001364/0.3346, allocations: 0.7324 MB / 380.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.3346, allocations: 10.92 kB / 380.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3348, allocations: 46.81 kB / 380.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004663/0.3352, allocations: 305.3 kB / 380.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.3353, allocations: 27.06 kB / 380.7 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/0.3354, allocations: 39.72 kB / 380.7 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007015/0.3361, allocations: 349 kB / 381.1 MB, free: 8.844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3361, allocations: 4.562 kB / 381.1 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.684e-05/0.3362, allocations: 18.38 kB / 381.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3362, allocations: 7.438 kB / 381.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.3367, allocations: 235 kB / 381.3 MB, free: 8.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.3386, allocations: 1.168 MB / 382.5 MB, free: 8.367 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.3392, allocations: 281 kB / 382.8 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.3397, allocations: 214 kB / 383 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.3402, allocations: 1.113 MB / 384.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.3402, allocations: 33.12 kB / 384.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.813e-06/0.3403, allocations: 9.062 kB / 384.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001222/0.3415, allocations: 0.531 MB / 384.7 MB, free: 6.598 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3415, allocations: 83.67 kB / 384.8 MB, free: 6.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3419, allocations: 340 kB / 385.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3419, allocations: 31.92 kB / 385.1 MB, free: 6.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.342, allocations: 214.8 kB / 385.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.3421, allocations: 95.33 kB / 385.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3422, allocations: 75.56 kB / 385.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.3423, allocations: 350.4 kB / 385.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3425, allocations: 105.8 kB / 386 MB, free: 5.617 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002564/0.3428, allocations: 183.8 kB / 386.1 MB, free: 5.496 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004576/0.3433, allocations: 295.2 kB / 386.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.3433, allocations: 1.125 kB / 386.4 MB, free: 5.324 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007672/0.344, allocations: 429.7 kB / 386.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3441, allocations: 9.812 kB / 386.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.3441, allocations: 3.016 kB / 386.9 MB, free: 5.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.3444, allocations: 64.34 kB / 386.9 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.3447, allocations: 81.36 kB / 387 MB, free: 5.121 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.3462, allocations: 1.96 MB / 389 MB, free: 3.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.3465, allocations: 38.8 kB / 389 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.3465, allocations: 15.09 kB / 389 MB, free: 3.344 MB / 318.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.0001256/0.3466, allocations: 154.3 kB / 389.2 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.3467, allocations: 33.41 kB / 389.2 MB, free: 3.188 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006403/0.3473, allocations: 344 kB / 389.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3473, allocations: 3.688 kB / 389.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3474, allocations: 0.6562 kB / 389.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3474, allocations: 5.297 kB / 389.5 MB, free: 3.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.3478, allocations: 394 kB / 389.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3478, allocations: 1.703 kB / 389.9 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.3481, allocations: 57.27 kB / 390 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001752/0.3483, allocations: 53.16 kB / 390 MB, free: 2.727 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.3483, allocations: 12.53 kB / 390 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00028/0.3486, allocations: 0.6092 MB / 390.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3486, allocations: 0 / 390.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008507/0.3495, allocations: 0.5172 MB / 391.2 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.3496, allocations: 131.4 kB / 391.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.3497, allocations: 9.984 kB / 391.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.3499, allocations: 20.52 kB / 391.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.35, allocations: 17.5 kB / 391.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.35, allocations: 7.422 kB / 391.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.3503, allocations: 242.3 kB / 391.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3503, allocations: 192 / 391.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000486/0.3508, allocations: 115.4 kB / 391.7 MB, free: 1.574 MB / 318.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.0002008/0.351, allocations: 141.2 kB / 391.8 MB, free: 1.469 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007854/0.3518, allocations: 414.4 kB / 392.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3518, allocations: 3.188 kB / 392.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003376/0.3521, allocations: 140.9 kB / 392.4 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3525, allocations: 43.92 kB / 392.4 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.3538, allocations: 0.863 MB / 393.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.354, allocations: 0.7907 MB / 394.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001319/0.3542, allocations: 42.92 kB / 394.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.3543, allocations: 31.03 kB / 394.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3543, allocations: 0 / 394.2 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.009791/0.3641, allocations: 4.009 MB / 398.2 MB, free: 15.56 MB / 334.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)