Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.005491/0.005492, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001119/0.001119, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.48/1.48, 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.001136/0.001136, allocations: 57.34 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.109, allocations: 46.61 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004978/0.114, allocations: 3.195 MB / 376.4 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.1161, allocations: 0.9942 MB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.1164, allocations: 4 kB / 377.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.1167, allocations: 59.36 kB / 377.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.1171, allocations: 130.9 kB / 377.5 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004096/0.1175, allocations: 139.7 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004737/0.118, allocations: 0.49 MB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.1183, allocations: 138.9 kB / 378.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.1185, allocations: 187.3 kB / 378.5 MB, free: 11.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.1188, allocations: 211.1 kB / 378.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.573e-05/0.1188, allocations: 40 kB / 378.7 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.119, allocations: 75.97 kB / 378.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.1191, allocations: 91.62 kB / 378.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000191/0.1193, allocations: 215 kB / 379.1 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.1198, allocations: 0.4905 MB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1198, allocations: 0 / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1198, allocations: 4 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1198, allocations: 0 / 379.6 MB, free: 10.83 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.001366/0.1212, allocations: 0.7325 MB / 380.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1213, allocations: 8.031 kB / 380.3 MB, free: 10.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1214, allocations: 52.38 kB / 380.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.1219, allocations: 303.4 kB / 380.7 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.1219, allocations: 25.03 kB / 380.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.3e-05/0.122, allocations: 40.28 kB / 380.8 MB, free: 9.59 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/0.1228, allocations: 353.3 kB / 381.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.1228, allocations: 0 / 381.1 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.162e-05/0.1228, allocations: 16 kB / 381.1 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1228, allocations: 12 kB / 381.1 MB, free: 9.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.1233, allocations: 230.5 kB / 381.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.1253, allocations: 1.162 MB / 382.5 MB, free: 7.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.126, allocations: 284.6 kB / 382.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005186/0.1266, allocations: 217.1 kB / 383 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008748/0.1274, allocations: 1.117 MB / 384.1 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.1275, allocations: 34.8 kB / 384.2 MB, free: 5.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 2.996e-06/0.1275, allocations: 4 kB / 384.2 MB, free: 5.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001344/0.1289, allocations: 0.5358 MB / 384.7 MB, free: 5.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.885e-05/0.1289, allocations: 81.11 kB / 384.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.1293, allocations: 341.6 kB / 385.1 MB, free: 4.812 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.181e-05/0.1293, allocations: 29.7 kB / 385.1 MB, free: 4.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1295, allocations: 212.2 kB / 385.3 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.1296, allocations: 98.56 kB / 385.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.1298, allocations: 73.97 kB / 385.5 MB, free: 4.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.13, allocations: 350.7 kB / 385.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.1303, allocations: 108.7 kB / 386 MB, free: 3.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.1306, allocations: 181.8 kB / 386.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.1311, allocations: 288.2 kB / 386.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.1312, allocations: 4 kB / 386.4 MB, free: 3.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008126/0.132, allocations: 437.2 kB / 386.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.132, allocations: 4 kB / 386.9 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.132, allocations: 4 kB / 386.9 MB, free: 2.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/0.1323, allocations: 64.81 kB / 386.9 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.1326, allocations: 71.89 kB / 387 MB, free: 2.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.1346, allocations: 1.959 MB / 389 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1349, allocations: 43.53 kB / 389 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.135, allocations: 19.98 kB / 389 MB, free: 0.668 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.000194/0.1352, allocations: 157.8 kB / 389.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.525e-05/0.1352, allocations: 31.62 kB / 389.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00071/0.136, allocations: 334.2 kB / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.136, allocations: 0 / 389.5 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.136, allocations: 3.938 kB / 389.5 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.136, allocations: 4 kB / 389.5 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004874/0.1365, allocations: 389.4 kB / 389.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1365, allocations: 8 kB / 389.9 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.1368, allocations: 55.89 kB / 390 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.137, allocations: 56.83 kB / 390 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.1371, allocations: 7.984 kB / 390 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004794/0.1376, allocations: 0.6071 MB / 390.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1376, allocations: 3.938 kB / 390.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.1385, allocations: 0.5248 MB / 391.2 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.1386, allocations: 136.6 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.887e-05/0.1387, allocations: 7.984 kB / 391.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1389, allocations: 19.98 kB / 391.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.139, allocations: 11.98 kB / 391.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.139, allocations: 15.98 kB / 391.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002506/0.1393, allocations: 239.2 kB / 391.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1393, allocations: 0 / 391.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004687/0.1398, allocations: 107.8 kB / 391.7 MB, free: 13.84 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.000247/0.14, allocations: 139.3 kB / 391.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.1409, allocations: 419 kB / 392.3 MB, free: 13.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.1409, allocations: 12 kB / 392.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.1413, allocations: 135.9 kB / 392.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1417, allocations: 37.42 kB / 392.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00142/0.1431, allocations: 0.8582 MB / 393.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.1435, allocations: 0.795 MB / 394.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001496/0.1437, allocations: 42.89 kB / 394.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.1438, allocations: 27.42 kB / 394.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1438, allocations: 4 kB / 394.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of Templates: time 0.008964/0.1527, allocations: 4.021 MB / 398.2 MB, free: 7.281 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)