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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002015/0.002016, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.002008/0.002008, allocations: 196 kB / 18 MB, free: 5.105 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.466/1.466, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001283/0.001283, allocations: 59.91 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1173, allocations: 46.61 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004969/0.1224, allocations: 3.186 MB / 377.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.1246, allocations: 1.006 MB / 378.7 MB, free: 364 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.1251, allocations: 4 kB / 378.7 MB, free: 360 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003063/0.1255, allocations: 59.41 kB / 378.7 MB, free: 300 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007003/0.1262, allocations: 134.9 kB / 378.9 MB, free: 164 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005075/0.1267, allocations: 143.7 kB / 379 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2863/0.413, allocations: 486.9 kB / 379.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.4134, allocations: 138.6 kB / 379.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003773/0.4138, allocations: 184 kB / 379.8 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003326/0.4141, allocations: 215.2 kB / 380 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.564e-05/0.4142, allocations: 40.38 kB / 380 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.4145, allocations: 71.47 kB / 380.1 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.4146, allocations: 91.27 kB / 380.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.4148, allocations: 216.9 kB / 380.4 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.4156, allocations: 0.4977 MB / 380.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.4156, allocations: 1.344 kB / 380.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4156, allocations: 3.297 kB / 380.9 MB, free: 9.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4156, allocations: 0 / 380.9 MB, free: 9.625 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.001604/0.4172, allocations: 0.7306 MB / 381.7 MB, free: 9.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.4173, allocations: 9.844 kB / 381.7 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.4174, allocations: 47.41 kB / 381.7 MB, free: 9.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.418, allocations: 304.7 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.604e-05/0.4181, allocations: 28.41 kB / 382 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.725e-05/0.4182, allocations: 38.59 kB / 382.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.4189, allocations: 350.6 kB / 382.4 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.419, allocations: 8.594 kB / 382.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.972e-05/0.419, allocations: 10.62 kB / 382.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.419, allocations: 8.156 kB / 382.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.4196, allocations: 236.4 kB / 382.7 MB, free: 8.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00256/0.4222, allocations: 1.168 MB / 383.8 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007976/0.423, allocations: 281.4 kB / 384.1 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/0.4237, allocations: 211.7 kB / 384.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000843/0.4245, allocations: 1.115 MB / 385.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.4246, allocations: 41.03 kB / 385.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 3.526e-06/0.4246, allocations: 0 / 385.5 MB, free: 6.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001579/0.4262, allocations: 0.5292 MB / 386 MB, free: 6.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.4262, allocations: 81.28 kB / 386.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.4268, allocations: 338.9 kB / 386.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.4268, allocations: 32.53 kB / 386.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.427, allocations: 216.8 kB / 386.7 MB, free: 6.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.4271, allocations: 99.16 kB / 386.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.4272, allocations: 74.31 kB / 386.8 MB, free: 5.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.4273, allocations: 350.3 kB / 387.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.4276, allocations: 102.5 kB / 387.3 MB, free: 5.625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.4279, allocations: 188.8 kB / 387.5 MB, free: 5.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.4284, allocations: 289 kB / 387.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.4285, allocations: 0 / 387.7 MB, free: 5.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008755/0.4293, allocations: 434.6 kB / 388.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.4294, allocations: 5.719 kB / 388.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4294, allocations: 2.188 kB / 388.2 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003564/0.4298, allocations: 70.81 kB / 388.2 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.4301, allocations: 78.34 kB / 388.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00218/0.4323, allocations: 1.957 MB / 390.3 MB, free: 3.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/0.4327, allocations: 42.66 kB / 390.3 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.4327, allocations: 18.56 kB / 390.3 MB, free: 3.348 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.0001832/0.4329, allocations: 153.5 kB / 390.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.433, allocations: 33.95 kB / 390.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.4338, allocations: 340.3 kB / 390.8 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.4338, allocations: 6.281 kB / 390.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4338, allocations: 5.094 kB / 390.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4338, allocations: 5.766 kB / 390.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.4344, allocations: 393.1 kB / 391.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.4344, allocations: 0 / 391.2 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.4347, allocations: 53.2 kB / 391.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002161/0.4349, allocations: 63.31 kB / 391.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.435, allocations: 11.67 kB / 391.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000348/0.4353, allocations: 0.6055 MB / 392 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4354, allocations: 0.75 kB / 392 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.4364, allocations: 0.5202 MB / 392.5 MB, free: 1.875 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.4365, allocations: 132 kB / 392.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4366, allocations: 6.312 kB / 392.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.4369, allocations: 21.5 kB / 392.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.255e-05/0.437, allocations: 13.61 kB / 392.7 MB, free: 1.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.437, allocations: 12.92 kB / 392.7 MB, free: 1.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.4373, allocations: 240.8 kB / 392.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4373, allocations: 0 / 392.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005214/0.4378, allocations: 115.2 kB / 393 MB, free: 1.578 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.000253/0.4381, allocations: 131.9 kB / 393.2 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009766/0.4391, allocations: 417.9 kB / 393.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4391, allocations: 0 / 393.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004259/0.4395, allocations: 145.6 kB / 393.7 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.4399, allocations: 48.69 kB / 393.8 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.4414, allocations: 0.8628 MB / 394.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4418, allocations: 0.7972 MB / 395.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.4419, allocations: 38.28 kB / 395.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.086e-05/0.442, allocations: 30.48 kB / 395.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.442, allocations: 0 / 395.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01088/0.4529, allocations: 4.109 MB / 399.6 MB, free: 15.47 MB / 334.1 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)