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.001493/0.001493, allocations: 117.1 kB / 16.63 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.001619/0.00162, 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.737/1.737, 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.001728/0.001727, allocations: 47.94 kB / 279.5 MB, free: 3.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1377, allocations: 46.62 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005007/0.1428, allocations: 2.795 MB / 328.9 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1441, allocations: 0.6787 MB / 329.6 MB, free: 1.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.1443, allocations: 4 kB / 329.6 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.1445, allocations: 39.69 kB / 329.7 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.1447, allocations: 75.39 kB / 329.7 MB, free: 1.176 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.145, allocations: 75.92 kB / 329.8 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004521/0.1455, allocations: 378.5 kB / 330.2 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.1458, allocations: 115 kB / 330.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.146, allocations: 147.5 kB / 330.4 MB, free: 488 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1462, allocations: 167.2 kB / 330.6 MB, free: 320 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.135e-05/0.1463, allocations: 39.98 kB / 330.6 MB, free: 280 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.292e-05/0.1464, allocations: 32 kB / 330.7 MB, free: 248 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.1464, allocations: 63.83 kB / 330.7 MB, free: 184 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.1466, allocations: 163.2 kB / 330.9 MB, free: 20 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.1471, allocations: 378.9 kB / 331.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1471, allocations: 0 / 331.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1471, allocations: 0 / 331.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1471, allocations: 0 / 331.3 MB, free: 15.65 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.001283/0.1484, allocations: 0.6537 MB / 331.9 MB, free: 14.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1484, allocations: 12.03 kB / 331.9 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.1485, allocations: 36.5 kB / 332 MB, free: 14.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.1489, allocations: 276.6 kB / 332.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.149, allocations: 16.94 kB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.149, allocations: 24.38 kB / 332.3 MB, free: 14.54 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.1497, allocations: 303.7 kB / 332.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1497, allocations: 4 kB / 332.6 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.1498, allocations: 12 kB / 332.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.1498, allocations: 7.984 kB / 332.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.1505, allocations: 249.5 kB / 332.8 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.1522, allocations: 1.101 MB / 333.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/0.153, allocations: 214.5 kB / 334.1 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/0.1532, allocations: 88.78 kB / 334.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.1533, allocations: 4 kB / 334.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/0.1539, allocations: 169.9 kB / 334.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.723e-06/0.1539, allocations: 0 / 334.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001989/0.1559, allocations: 0.5105 MB / 334.9 MB, free: 11.73 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.156, allocations: 110.8 kB / 335 MB, free: 11.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.1563, allocations: 282.6 kB / 335.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1563, allocations: 29.7 kB / 335.3 MB, free: 11.28 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.1564, allocations: 195.6 kB / 335.5 MB, free: 11.09 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.1565, allocations: 43.39 kB / 335.6 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.1566, allocations: 53.84 kB / 335.6 MB, free: 10.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1567, allocations: 338.8 kB / 335.9 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/0.1571, allocations: 88.16 kB / 336 MB, free: 10.56 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.1575, allocations: 210 kB / 336.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006518/0.1581, allocations: 297.5 kB / 336.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1581, allocations: 7.938 kB / 336.5 MB, free: 9.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001114/0.1593, allocations: 424.9 kB / 336.9 MB, free: 9.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.1593, allocations: 33.7 kB / 337 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1594, allocations: 4 kB / 337 MB, free: 9.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.1598, allocations: 80.83 kB / 337.1 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.16, allocations: 43.91 kB / 337.1 MB, free: 9.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002571/0.1626, allocations: 1.712 MB / 338.8 MB, free: 7.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.1629, allocations: 63.7 kB / 338.9 MB, free: 7.445 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.163, allocations: 8 kB / 338.9 MB, free: 7.438 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.000203/0.1632, allocations: 161.6 kB / 339 MB, free: 7.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.1633, allocations: 27.72 kB / 339.1 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.1633, allocations: 25.7 kB / 339.1 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.1633, allocations: 4 kB / 339.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.1633, allocations: 0 / 339.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.1634, allocations: 0 / 339.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003273/0.1637, allocations: 309.2 kB / 339.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1637, allocations: 0 / 339.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.1638, allocations: 23.97 kB / 339.4 MB, free: 6.836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.1641, allocations: 60.81 kB / 339.5 MB, free: 6.773 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.1641, allocations: 11.98 kB / 339.5 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/0.1661, allocations: 1.7 MB / 341.2 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1661, allocations: 0 / 341.2 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.1671, allocations: 313.4 kB / 341.5 MB, free: 4.598 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1672, allocations: 116.8 kB / 341.6 MB, free: 4.465 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.1672, allocations: 4 kB / 341.6 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.1675, allocations: 27.95 kB / 341.6 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.1676, allocations: 19.98 kB / 341.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1676, allocations: 7.984 kB / 341.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002383/0.1679, allocations: 205.9 kB / 341.9 MB, free: 4.203 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1679, allocations: 0 / 341.9 MB, free: 4.203 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003962/0.1683, allocations: 83.84 kB / 341.9 MB, free: 4.121 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.0001834/0.1685, allocations: 95.25 kB / 342 MB, free: 4.016 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001149/0.1696, allocations: 418.5 kB / 342.5 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1696, allocations: 0 / 342.5 MB, free: 3.582 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.1701, allocations: 227.2 kB / 342.7 MB, free: 3.348 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.1704, allocations: 40.8 kB / 342.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1715, allocations: 0.5469 MB / 343.3 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1718, allocations: 0.7518 MB / 344 MB, free: 1.957 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000108/0.1719, allocations: 22.3 kB / 344 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.172, allocations: 23.44 kB / 344.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.172, allocations: 0 / 344.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of Templates: time 0.007917/0.1799, allocations: 4.032 MB / 348.1 MB, free: 13.88 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)