Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.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.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001064, allocations: 93.45 kB / 16.65 MB, free: 6.59 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.001524/0.001524, allocations: 183.4 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004661/0.0004661, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1204, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003206/0.1237, allocations: 2.429 MB / 330.7 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.125, allocations: 0.6749 MB / 331.4 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001663/0.1252, allocations: 4 kB / 331.4 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.1254, allocations: 35.7 kB / 331.5 MB, free: 0.582 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.1256, allocations: 83.36 kB / 331.5 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1258, allocations: 67.94 kB / 331.6 MB, free: 444 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.1262, allocations: 354.5 kB / 332 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.1264, allocations: 103.6 kB / 332.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1266, allocations: 119.5 kB / 332.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.1268, allocations: 151.2 kB / 332.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.1268, allocations: 20 kB / 332.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.284e-05/0.1269, allocations: 16 kB / 332.4 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.127, allocations: 55.75 kB / 332.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001711/0.1271, allocations: 165 kB / 332.6 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.1275, allocations: 358.8 kB / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1276, allocations: 4 kB / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1276, allocations: 0 / 332.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.1276, allocations: 0 / 332.9 MB, free: 15.11 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001347/0.1289, allocations: 0.6148 MB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.129, allocations: 8.031 kB / 333.6 MB, free: 14.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.1291, allocations: 32.56 kB / 333.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.1295, allocations: 272.7 kB / 333.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.1295, allocations: 24.94 kB / 333.9 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.1296, allocations: 24.38 kB / 333.9 MB, free: 14.04 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006821/0.1302, allocations: 315.7 kB / 334.2 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1303, allocations: 7.938 kB / 334.2 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.1303, allocations: 8 kB / 334.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1303, allocations: 4 kB / 334.2 MB, free: 13.7 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008099/0.1311, allocations: 277.5 kB / 334.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.1329, allocations: 1.12 MB / 335.6 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.1338, allocations: 238.6 kB / 335.8 MB, free: 11.97 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.1341, allocations: 104.7 kB / 336 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.1341, allocations: 11.97 kB / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.1347, allocations: 173.9 kB / 336.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.883e-06/0.1347, allocations: 0 / 336.1 MB, free: 11.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.002115/0.1368, allocations: 0.5457 MB / 336.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.047e-05/0.1369, allocations: 118.8 kB / 336.8 MB, free: 10.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.1372, allocations: 282.6 kB / 337.1 MB, free: 10.67 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1373, allocations: 29.7 kB / 337.1 MB, free: 10.63 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1374, allocations: 195.5 kB / 337.3 MB, free: 10.44 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.1375, allocations: 43.48 kB / 337.3 MB, free: 10.39 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.1375, allocations: 17.72 kB / 337.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1377, allocations: 342.8 kB / 337.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.1381, allocations: 108.2 kB / 337.8 MB, free: 9.922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.1385, allocations: 210.1 kB / 338 MB, free: 9.668 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000739/0.1392, allocations: 329.1 kB / 338.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.1393, allocations: 7.938 kB / 338.3 MB, free: 9.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001228/0.1405, allocations: 451.7 kB / 338.8 MB, free: 8.836 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.1406, allocations: 40.34 kB / 338.8 MB, free: 8.793 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.1406, allocations: 4 kB / 338.8 MB, free: 8.789 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/0.141, allocations: 76.78 kB / 338.9 MB, free: 8.711 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002623/0.1413, allocations: 55.95 kB / 338.9 MB, free: 8.656 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.1436, allocations: 1.585 MB / 340.5 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.144, allocations: 63.72 kB / 340.6 MB, free: 6.875 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.144, allocations: 16 kB / 340.6 MB, free: 6.859 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * Single equations (assignments): 21 * 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.0001837/0.1442, allocations: 145.7 kB / 340.7 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.1443, allocations: 31.64 kB / 340.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.978e-05/0.1443, allocations: 29.66 kB / 340.8 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.1443, allocations: 0 / 340.8 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1443, allocations: 3.984 kB / 340.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1443, allocations: 0 / 340.8 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.1447, allocations: 301.4 kB / 341.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1447, allocations: 0 / 341.1 MB, free: 6.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.1448, allocations: 27.97 kB / 341.1 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/0.1451, allocations: 68.8 kB / 341.2 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.1451, allocations: 0 / 341.2 MB, free: 6.199 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.1471, allocations: 1.593 MB / 342.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1471, allocations: 0 / 342.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.1482, allocations: 329.9 kB / 343.1 MB, free: 4.129 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.1483, allocations: 120.7 kB / 343.2 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.1483, allocations: 11.94 kB / 343.2 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.1486, allocations: 31.95 kB / 343.3 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.1487, allocations: 27.97 kB / 343.3 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1487, allocations: 0 / 343.3 MB, free: 3.922 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.1489, allocations: 206 kB / 343.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1489, allocations: 0 / 343.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1493, allocations: 79.84 kB / 343.6 MB, free: 3.641 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 (7): * Single equations (assignments): 4 * 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.0001373/0.1494, allocations: 99.19 kB / 343.7 MB, free: 3.531 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.1505, allocations: 438 kB / 344.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1505, allocations: 0 / 344.1 MB, free: 3.078 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004629/0.151, allocations: 239.1 kB / 344.3 MB, free: 2.832 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1514, allocations: 36.81 kB / 344.4 MB, free: 2.797 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1525, allocations: 0.5685 MB / 344.9 MB, free: 2.207 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1528, allocations: 0.7482 MB / 345.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1529, allocations: 26.28 kB / 345.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.1529, allocations: 19.44 kB / 345.7 MB, free: 1.387 MB / 286.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1529, allocations: 4 kB / 345.7 MB, free: 1.383 MB / 286.1 MB Notification: Performance of Templates: time 0.007983/0.1609, allocations: 3.764 MB / 349.5 MB, free: 13.62 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)