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.00146/0.00146, allocations: 101.8 kB / 16.62 MB, free: 6.809 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.001576/0.001576, allocations: 189.8 kB / 17.55 MB, free: 5.953 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.413/1.413, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001164/0.001164, allocations: 55.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1089, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004756/0.1137, allocations: 3.232 MB / 329.4 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1156, allocations: 0.9984 MB / 330.4 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1158, allocations: 4 kB / 330.4 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.116, allocations: 43.67 kB / 330.4 MB, free: 496 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.1164, allocations: 111.2 kB / 330.5 MB, free: 384 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003083/0.1167, allocations: 119.8 kB / 330.6 MB, free: 264 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004493/0.1172, allocations: 486.1 kB / 331.1 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.1174, allocations: 139 kB / 331.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.1177, allocations: 187.3 kB / 331.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002391/0.1179, allocations: 203.1 kB / 331.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.118, allocations: 40 kB / 331.7 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1181, allocations: 75.95 kB / 331.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.892e-05/0.1182, allocations: 91.62 kB / 331.8 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.1184, allocations: 222.9 kB / 332.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.1189, allocations: 490.6 kB / 332.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1189, allocations: 0 / 332.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1189, allocations: 0 / 332.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1189, allocations: 4 kB / 332.5 MB, free: 14.35 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.001329/0.1203, allocations: 0.7364 MB / 333.3 MB, free: 13.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1203, allocations: 8.031 kB / 333.3 MB, free: 13.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1204, allocations: 48.45 kB / 333.3 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003684/0.1208, allocations: 303.3 kB / 333.6 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.1209, allocations: 25.03 kB / 333.6 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-05/0.1209, allocations: 36.38 kB / 333.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.1216, allocations: 361.2 kB / 334 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1216, allocations: 0 / 334 MB, free: 12.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.285e-05/0.1216, allocations: 19.98 kB / 334.1 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.1217, allocations: 11.94 kB / 334.1 MB, free: 12.72 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.1221, allocations: 226.5 kB / 334.3 MB, free: 12.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.124, allocations: 1.174 MB / 335.5 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.1246, allocations: 283.6 kB / 335.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.1251, allocations: 213.2 kB / 335.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007813/0.1259, allocations: 1.113 MB / 337.1 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.1259, allocations: 42.73 kB / 337.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.1259, allocations: 0 / 337.1 MB, free: 9.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001397/0.1273, allocations: 0.528 MB / 337.6 MB, free: 8.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.1274, allocations: 81.11 kB / 337.7 MB, free: 8.672 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.1278, allocations: 341.6 kB / 338 MB, free: 8.332 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.1279, allocations: 33.7 kB / 338.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1281, allocations: 220 kB / 338.3 MB, free: 8.074 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.1282, allocations: 98.55 kB / 338.4 MB, free: 7.977 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.1283, allocations: 70.08 kB / 338.5 MB, free: 7.898 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1285, allocations: 350.7 kB / 338.8 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.1287, allocations: 100.7 kB / 338.9 MB, free: 7.449 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.129, allocations: 189.7 kB / 339.1 MB, free: 7.234 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.1295, allocations: 303.1 kB / 339.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1295, allocations: 0 / 339.4 MB, free: 6.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007588/0.1302, allocations: 429.1 kB / 339.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1303, allocations: 7.938 kB / 339.8 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1303, allocations: 8.25 kB / 339.8 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/0.1306, allocations: 64.81 kB / 339.9 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003103/0.1309, allocations: 75.89 kB / 339.9 MB, free: 6.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/0.1327, allocations: 1.959 MB / 341.9 MB, free: 4.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.133, allocations: 35.67 kB / 341.9 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.1331, allocations: 20 kB / 342 MB, free: 4.176 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.0002229/0.1333, allocations: 157.7 kB / 342.1 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.1334, allocations: 39.53 kB / 342.2 MB, free: 3.973 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006785/0.1341, allocations: 326.3 kB / 342.5 MB, free: 3.641 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.1341, allocations: 4 kB / 342.5 MB, free: 3.637 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1341, allocations: 3.938 kB / 342.5 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1341, allocations: 3.984 kB / 342.5 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.1345, allocations: 393.2 kB / 342.9 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1345, allocations: 0 / 342.9 MB, free: 3.195 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.1349, allocations: 59.89 kB / 342.9 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001914/0.1351, allocations: 60.81 kB / 343 MB, free: 3.074 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.1351, allocations: 12 kB / 343 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/0.1355, allocations: 0.5991 MB / 343.6 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1355, allocations: 3.984 kB / 343.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008415/0.1364, allocations: 0.521 MB / 344.1 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.1365, allocations: 132.6 kB / 344.3 MB, free: 1.746 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.1366, allocations: 4 kB / 344.3 MB, free: 1.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1368, allocations: 19.98 kB / 344.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.1369, allocations: 19.97 kB / 344.3 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.1369, allocations: 11.98 kB / 344.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.1372, allocations: 247.2 kB / 344.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1372, allocations: 0 / 344.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000473/0.1377, allocations: 103.8 kB / 344.6 MB, free: 1.355 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.0002263/0.1379, allocations: 131.2 kB / 344.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000904/0.1388, allocations: 434.2 kB / 345.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1388, allocations: 3.938 kB / 345.2 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.1392, allocations: 135.9 kB / 345.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.1397, allocations: 41.95 kB / 345.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.1413, allocations: 0.9947 MB / 346.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.1418, allocations: 0.7912 MB / 347.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001602/0.142, allocations: 42.88 kB / 347.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.142, allocations: 31.44 kB / 347.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.142, allocations: 0 / 347.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Templates: time 0.008766/0.1508, allocations: 3.907 MB / 351.1 MB, free: 10.78 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)