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.001084/0.001085, allocations: 90.91 kB / 16.65 MB, free: 6.348 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.001228/0.001228, allocations: 177.4 kB / 17.56 MB, free: 5.949 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.647/1.647, allocations: 205.4 MB / 223.7 MB, free: 13.05 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.0004761/0.0004762, allocations: 12 kB / 280.7 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 47.58 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003613/0.1059, allocations: 2.847 MB / 331.2 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1076, allocations: 0.979 MB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1078, allocations: 4 kB / 332.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1079, allocations: 43.67 kB / 332.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.1083, allocations: 107.2 kB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1086, allocations: 127.7 kB / 332.4 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004281/0.1091, allocations: 462 kB / 332.9 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1093, allocations: 115.8 kB / 333 MB, free: 15.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.1096, allocations: 159.3 kB / 333.1 MB, free: 14.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002282/0.1098, allocations: 191.1 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.1099, allocations: 28 kB / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.11, allocations: 51.97 kB / 333.4 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.1101, allocations: 71.67 kB / 333.5 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.1103, allocations: 216.6 kB / 333.7 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.1107, allocations: 478.5 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1107, allocations: 3.938 kB / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1107, allocations: 0 / 334.2 MB, free: 13.86 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1107, allocations: 0 / 334.2 MB, free: 13.86 MB / 286.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.001179/0.1119, allocations: 0.6703 MB / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.112, allocations: 8.031 kB / 334.8 MB, free: 13.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.112, allocations: 52.36 kB / 334.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.1124, allocations: 303.3 kB / 335.2 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.1124, allocations: 25.03 kB / 335.2 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.239e-05/0.1125, allocations: 40.31 kB / 335.2 MB, free: 12.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.1131, allocations: 357.3 kB / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1131, allocations: 0 / 335.6 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.1132, allocations: 20 kB / 335.6 MB, free: 12.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1132, allocations: 15.92 kB / 335.6 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.1137, allocations: 242.5 kB / 335.9 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.1155, allocations: 1.193 MB / 337.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006341/0.1162, allocations: 291.5 kB / 337.3 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.1166, allocations: 217.2 kB / 337.6 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006896/0.1173, allocations: 1.125 MB / 338.7 MB, free: 8.887 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1174, allocations: 34.8 kB / 338.7 MB, free: 8.844 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 3.266e-06/0.1174, allocations: 4 kB / 338.7 MB, free: 8.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001298/0.1187, allocations: 0.5475 MB / 339.3 MB, free: 8.266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1187, allocations: 81.09 kB / 339.3 MB, free: 8.168 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003282/0.1191, allocations: 341.6 kB / 339.7 MB, free: 7.828 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1191, allocations: 37.7 kB / 339.7 MB, free: 7.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.1192, allocations: 208.2 kB / 339.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.402e-05/0.1193, allocations: 98.55 kB / 340 MB, free: 7.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.1194, allocations: 37.7 kB / 340.1 MB, free: 7.438 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1195, allocations: 350.7 kB / 340.4 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.1197, allocations: 112.7 kB / 340.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.12, allocations: 197.7 kB / 340.7 MB, free: 6.75 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.1205, allocations: 311.1 kB / 341 MB, free: 6.418 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1205, allocations: 0 / 341 MB, free: 6.418 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007667/0.1213, allocations: 441.1 kB / 341.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1213, allocations: 8.25 kB / 341.4 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1213, allocations: 4 kB / 341.4 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.1216, allocations: 64.81 kB / 341.5 MB, free: 5.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.1219, allocations: 87.77 kB / 341.6 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.1236, allocations: 1.764 MB / 343.4 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.1239, allocations: 39.62 kB / 343.4 MB, free: 3.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.1239, allocations: 16 kB / 343.4 MB, free: 3.863 MB / 286.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.0001633/0.1241, allocations: 157.7 kB / 343.6 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.1242, allocations: 35.56 kB / 343.6 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006905/0.1249, allocations: 342.4 kB / 343.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1249, allocations: 0 / 343.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1249, allocations: 0 / 343.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1249, allocations: 11.98 kB / 343.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1253, allocations: 397.2 kB / 344.3 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1253, allocations: 0 / 344.3 MB, free: 2.867 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.1257, allocations: 63.89 kB / 344.4 MB, free: 2.805 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001825/0.1258, allocations: 52.83 kB / 344.5 MB, free: 2.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.792e-05/0.1259, allocations: 8 kB / 344.5 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003851/0.1263, allocations: 0.6109 MB / 345.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1263, allocations: 3.938 kB / 345.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009085/0.1272, allocations: 0.5366 MB / 345.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.1273, allocations: 132.6 kB / 345.7 MB, free: 1.398 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.1274, allocations: 8 kB / 345.7 MB, free: 1.391 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.1277, allocations: 35.91 kB / 345.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.1277, allocations: 15.98 kB / 345.8 MB, free: 1.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.1278, allocations: 11.98 kB / 345.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.128, allocations: 239.2 kB / 346 MB, free: 1.102 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 0 / 346 MB, free: 1.102 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004334/0.1284, allocations: 103.8 kB / 346.1 MB, free: 1 MB / 286.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.000209/0.1286, allocations: 135.1 kB / 346.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008268/0.1295, allocations: 430.3 kB / 346.7 MB, free: 432 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1295, allocations: 0 / 346.7 MB, free: 432 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.1298, allocations: 143.8 kB / 346.8 MB, free: 288 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1303, allocations: 49.89 kB / 346.9 MB, free: 236 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1318, allocations: 1.086 MB / 348 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1322, allocations: 0.795 MB / 348.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.1323, allocations: 34.97 kB / 348.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.1324, allocations: 27.44 kB / 348.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1324, allocations: 0 / 348.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Templates: time 0.00838/0.1408, allocations: 3.715 MB / 352.5 MB, free: 10.52 MB / 302.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)