Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 112.4 kB / 16.62 MB, free: 6.812 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.001767/0.001767, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.775/1.775, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.00117/0.00117, allocations: 47.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1265, allocations: 46.63 MB / 326.1 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.004284/0.1309, allocations: 2.768 MB / 328.9 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.1321, allocations: 0.706 MB / 329.6 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.1323, allocations: 4 kB / 329.6 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1325, allocations: 27.7 kB / 329.6 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.1327, allocations: 75.45 kB / 329.7 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.133, allocations: 87.84 kB / 329.8 MB, free: 1.082 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.1334, allocations: 350.6 kB / 330.1 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.1336, allocations: 84.69 kB / 330.2 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1338, allocations: 131.5 kB / 330.4 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.134, allocations: 151.3 kB / 330.5 MB, free: 392 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.134, allocations: 28 kB / 330.5 MB, free: 364 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.777e-05/0.1341, allocations: 32 kB / 330.6 MB, free: 332 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.912e-05/0.1342, allocations: 67.7 kB / 330.6 MB, free: 264 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.1344, allocations: 147.3 kB / 330.8 MB, free: 116 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1347, allocations: 315.2 kB / 331.1 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1347, allocations: 0 / 331.1 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1347, allocations: 7.875 kB / 331.1 MB, free: 15.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1348, allocations: 0 / 331.1 MB, free: 15.8 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001263/0.136, allocations: 0.6457 MB / 331.7 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1361, allocations: 12.03 kB / 331.7 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.948e-05/0.1362, allocations: 24.66 kB / 331.8 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.1365, allocations: 275.5 kB / 332 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.1365, allocations: 20.81 kB / 332.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1366, allocations: 16.38 kB / 332.1 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.1372, allocations: 255.5 kB / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1372, allocations: 0 / 332.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.1372, allocations: 4 kB / 332.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1373, allocations: 4 kB / 332.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.138, allocations: 261.5 kB / 332.6 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001438/0.1394, allocations: 0.8658 MB / 333.5 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006847/0.1401, allocations: 222.6 kB / 333.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.1404, allocations: 96.78 kB / 333.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1404, allocations: 3.984 kB / 333.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004884/0.1409, allocations: 177.7 kB / 333.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.1409, allocations: 0 / 333.9 MB, free: 12.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001853/0.1428, allocations: 0.5888 MB / 334.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/0.1429, allocations: 106.8 kB / 334.6 MB, free: 11.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.1431, allocations: 264.8 kB / 334.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1432, allocations: 29.7 kB / 334.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1433, allocations: 171.9 kB / 335.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.1433, allocations: 43.36 kB / 335.1 MB, free: 11.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.453e-05/0.1434, allocations: 45.64 kB / 335.2 MB, free: 11.42 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.1436, allocations: 330.8 kB / 335.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1439, allocations: 100.8 kB / 335.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.1442, allocations: 167.4 kB / 335.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/0.1448, allocations: 247 kB / 336 MB, free: 10.53 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1448, allocations: 0 / 336 MB, free: 10.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009587/0.1457, allocations: 419.5 kB / 336.4 MB, free: 10.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/0.1458, allocations: 33.7 kB / 336.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1458, allocations: 4 kB / 336.5 MB, free: 10.06 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/0.1463, allocations: 108.7 kB / 336.6 MB, free: 9.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1465, allocations: 40 kB / 336.6 MB, free: 9.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.1486, allocations: 1.888 MB / 338.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000293/0.1489, allocations: 44.03 kB / 338.5 MB, free: 7.836 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.898e-05/0.1489, allocations: 15.98 kB / 338.5 MB, free: 7.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003407/0.1493, allocations: 180.1 kB / 338.7 MB, free: 7.641 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002902/0.1496, allocations: 147.5 kB / 338.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004861/0.1501, allocations: 234.7 kB / 339.1 MB, free: 7.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.1501, allocations: 4 kB / 339.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007434/0.1508, allocations: 331.5 kB / 339.4 MB, free: 6.871 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.1509, allocations: 33.88 kB / 339.5 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1509, allocations: 8 kB / 339.5 MB, free: 6.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001185/0.151, allocations: 40.78 kB / 339.5 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1512, allocations: 35.97 kB / 339.5 MB, free: 6.746 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.1525, allocations: 1.713 MB / 341.3 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.1528, allocations: 47.91 kB / 341.3 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.1528, allocations: 8 kB / 341.3 MB, free: 4.84 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.153, allocations: 200.1 kB / 341.5 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.035e-05/0.153, allocations: 23.91 kB / 341.5 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.81e-05/0.1531, allocations: 25.83 kB / 341.6 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1531, allocations: 4 kB / 341.6 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1531, allocations: 4 kB / 341.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1531, allocations: 4 kB / 341.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.1534, allocations: 289.4 kB / 341.8 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1534, allocations: 4 kB / 341.8 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.1535, allocations: 19.97 kB / 341.9 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.1538, allocations: 64.81 kB / 341.9 MB, free: 4.156 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.1538, allocations: 11.88 kB / 341.9 MB, free: 4.145 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00177/0.1556, allocations: 1.715 MB / 343.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1556, allocations: 192 / 343.7 MB, free: 2.293 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.1564, allocations: 325.4 kB / 344 MB, free: 1.953 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.097e-05/0.1565, allocations: 100.8 kB / 344.1 MB, free: 1.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.1565, allocations: 8 kB / 344.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1567, allocations: 31.95 kB / 344.1 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-05/0.1568, allocations: 27.92 kB / 344.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.1569, allocations: 0 / 344.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.1571, allocations: 188.5 kB / 344.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1571, allocations: 0 / 344.3 MB, free: 1.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005542/0.1576, allocations: 123.8 kB / 344.4 MB, free: 1.469 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002352/0.1579, allocations: 103.2 kB / 344.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.1593, allocations: 0.6878 MB / 345.2 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1593, allocations: 8.062 kB / 345.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.1598, allocations: 230.5 kB / 345.5 MB, free: 380 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.1601, allocations: 48.45 kB / 345.5 MB, free: 332 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1612, allocations: 0.5151 MB / 346 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.1615, allocations: 0.7482 MB / 346.8 MB, free: 15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.1617, allocations: 22.3 kB / 346.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.311e-05/0.1617, allocations: 27.44 kB / 346.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1617, allocations: 0 / 346.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Templates: time 0.008399/0.1702, allocations: 4.165 MB / 351 MB, free: 10.79 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.pipe 2>&1)