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.007697/0.007697, allocations: 98 kB / 15.73 MB, free: 6.059 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.001478/0.001478, allocations: 191.5 kB / 16.67 MB, free: 5.969 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.505/1.505, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.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.001405/0.001406, allocations: 54.98 kB / 326.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 46.62 MB / 373.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004722/0.1405, allocations: 3.179 MB / 376.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1427, allocations: 0.9942 MB / 377.4 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.1429, allocations: 8 kB / 377.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.1432, allocations: 63.34 kB / 377.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003932/0.1436, allocations: 123 kB / 377.5 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1439, allocations: 151.6 kB / 377.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.1444, allocations: 481.9 kB / 378.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.1447, allocations: 139 kB / 378.3 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.1449, allocations: 187.3 kB / 378.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1452, allocations: 211 kB / 378.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.1453, allocations: 40 kB / 378.7 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.1454, allocations: 79.97 kB / 378.8 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.1455, allocations: 95.67 kB / 378.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002034/0.1458, allocations: 210.9 kB / 379.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.1464, allocations: 0.5018 MB / 379.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1464, allocations: 0 / 379.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1464, allocations: 3.938 kB / 379.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1464, allocations: 0 / 379.6 MB, free: 10.96 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.001344/0.1477, allocations: 0.7477 MB / 380.4 MB, free: 10.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1478, allocations: 8.031 kB / 380.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.105e-05/0.1479, allocations: 48.66 kB / 380.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.1484, allocations: 311.5 kB / 380.7 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1484, allocations: 25.03 kB / 380.7 MB, free: 9.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.1485, allocations: 36.38 kB / 380.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006544/0.1492, allocations: 353.3 kB / 381.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1492, allocations: 0 / 381.1 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.1492, allocations: 12 kB / 381.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.1493, allocations: 11.98 kB / 381.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.1497, allocations: 242.5 kB / 381.4 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.1516, allocations: 1.163 MB / 382.5 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006239/0.1523, allocations: 283.5 kB / 382.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000502/0.1528, allocations: 225.2 kB / 383 MB, free: 7.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007971/0.1536, allocations: 1.105 MB / 384.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1536, allocations: 38.8 kB / 384.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.883e-06/0.1536, allocations: 0 / 384.2 MB, free: 5.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001318/0.155, allocations: 0.536 MB / 384.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.155, allocations: 85.11 kB / 384.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.1554, allocations: 341.6 kB / 385.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.1554, allocations: 33.7 kB / 385.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.1556, allocations: 216.5 kB / 385.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.1557, allocations: 103.1 kB / 385.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.1558, allocations: 70.02 kB / 385.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1559, allocations: 350.7 kB / 385.9 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1562, allocations: 100.7 kB / 386 MB, free: 4.039 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1564, allocations: 189.8 kB / 386.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.1569, allocations: 288.2 kB / 386.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1569, allocations: 4 kB / 386.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007478/0.1577, allocations: 437.4 kB / 386.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1577, allocations: 8 kB / 386.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1577, allocations: 0 / 386.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002744/0.158, allocations: 68.75 kB / 387 MB, free: 2.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003012/0.1583, allocations: 75.89 kB / 387 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/0.1602, allocations: 1.955 MB / 389 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.1604, allocations: 47.75 kB / 389 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.1605, allocations: 8 kB / 389 MB, free: 0.7734 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.0001746/0.1607, allocations: 157.7 kB / 389.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.1607, allocations: 43.75 kB / 389.2 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.1614, allocations: 326.4 kB / 389.6 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1614, allocations: 4 kB / 389.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1615, allocations: 3.938 kB / 389.6 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1615, allocations: 3.984 kB / 389.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004486/0.1619, allocations: 397.2 kB / 390 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1619, allocations: 0 / 390 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.1623, allocations: 59.95 kB / 390 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001826/0.1625, allocations: 56.77 kB / 390.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.1625, allocations: 19.92 kB / 390.1 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003676/0.1629, allocations: 0.5992 MB / 390.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1629, allocations: 4.062 kB / 390.7 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008685/0.1638, allocations: 0.5249 MB / 391.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1639, allocations: 132.8 kB / 391.4 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.1639, allocations: 8 kB / 391.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1642, allocations: 23.98 kB / 391.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.1643, allocations: 15.97 kB / 391.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1643, allocations: 8 kB / 391.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002475/0.1646, allocations: 235.2 kB / 391.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1646, allocations: 192 / 391.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000464/0.165, allocations: 115.8 kB / 391.8 MB, free: 13.93 MB / 334.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.0002274/0.1653, allocations: 139 kB / 391.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008642/0.1661, allocations: 422.5 kB / 392.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1662, allocations: 0 / 392.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.1665, allocations: 144.4 kB / 392.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.1669, allocations: 37.36 kB / 392.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1683, allocations: 0.8649 MB / 393.3 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.1687, allocations: 0.7912 MB / 394.1 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.1688, allocations: 42.89 kB / 394.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.1689, allocations: 27.42 kB / 394.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1689, allocations: 0 / 394.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of Templates: time 0.008475/0.1774, allocations: 4.017 MB / 398.2 MB, free: 7.379 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)