Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.007142/0.007142, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001417/0.001417, allocations: 194.8 kB / 16.67 MB, free: 5.52 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.798/1.798, allocations: 205.1 MB / 222.5 MB, free: 4.176 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.001328/0.001328, allocations: 55.2 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 46.62 MB / 373.2 MB, free: 1.277 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.006812/0.1439, allocations: 2.738 MB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1461, allocations: 0.6861 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002847/0.1465, allocations: 4 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1469, allocations: 51.5 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004283/0.1475, allocations: 99.17 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.1481, allocations: 83.89 kB / 376.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006964/0.1488, allocations: 378.3 kB / 377.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/0.1492, allocations: 130.8 kB / 377.3 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.1495, allocations: 151.4 kB / 377.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003349/0.1499, allocations: 163.3 kB / 377.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.67e-05/0.15, allocations: 36 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.1501, allocations: 36 kB / 377.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1503, allocations: 75.7 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003629/0.1506, allocations: 163.2 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007073/0.1514, allocations: 378.7 kB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1514, allocations: 0 / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1514, allocations: 0 / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1514, allocations: 0 / 378.3 MB, free: 12.11 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002094/0.1535, allocations: 0.6497 MB / 379 MB, free: 11.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.1536, allocations: 12.03 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1537, allocations: 32.56 kB / 379 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000635/0.1544, allocations: 268.8 kB / 379.3 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.1545, allocations: 20.94 kB / 379.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.1545, allocations: 28.38 kB / 379.3 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1557, allocations: 303.6 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.1557, allocations: 0 / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.1558, allocations: 8 kB / 379.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.1558, allocations: 4 kB / 379.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1573, allocations: 257.5 kB / 379.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002861/0.1602, allocations: 1.081 MB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.1618, allocations: 214.6 kB / 381.2 MB, free: 9.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005711/0.1624, allocations: 100.8 kB / 381.3 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.1624, allocations: 4 kB / 381.3 MB, free: 8.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007973/0.1632, allocations: 165.8 kB / 381.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 2.665e-06/0.1633, allocations: 0 / 381.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.003549/0.1668, allocations: 0.5027 MB / 381.9 MB, free: 8.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.167, allocations: 118.8 kB / 382.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.1675, allocations: 278.6 kB / 382.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.11e-05/0.1676, allocations: 37.64 kB / 382.4 MB, free: 7.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.1678, allocations: 199.5 kB / 382.6 MB, free: 7.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.168, allocations: 39.53 kB / 382.6 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.1682, allocations: 53.84 kB / 382.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.1684, allocations: 330.8 kB / 383 MB, free: 7.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/0.169, allocations: 96.16 kB / 383.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/0.1697, allocations: 206.1 kB / 383.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.171, allocations: 297.4 kB / 383.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.171, allocations: 7.938 kB / 383.6 MB, free: 6.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002177/0.1732, allocations: 431.6 kB / 384 MB, free: 5.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.1733, allocations: 33.7 kB / 384 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.1733, allocations: 7.938 kB / 384 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007166/0.1741, allocations: 80.83 kB / 384.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.1745, allocations: 43.91 kB / 384.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004108/0.1786, allocations: 1.711 MB / 385.9 MB, free: 3.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.1792, allocations: 59.7 kB / 385.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.1793, allocations: 12 kB / 385.9 MB, free: 3.902 MB / 318.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.0003467/0.1797, allocations: 145.7 kB / 386.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.708e-05/0.1798, allocations: 23.72 kB / 386.1 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.243e-05/0.1799, allocations: 25.7 kB / 386.1 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1799, allocations: 4 kB / 386.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1799, allocations: 0 / 386.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1799, allocations: 0 / 386.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.1805, allocations: 297.4 kB / 386.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1805, allocations: 0 / 386.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.1808, allocations: 23.97 kB / 386.4 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004541/0.1812, allocations: 64.81 kB / 386.5 MB, free: 3.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.1813, allocations: 4 kB / 386.5 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003965/0.1852, allocations: 1.711 MB / 388.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.1853, allocations: 0 / 388.2 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.187, allocations: 325.7 kB / 388.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/0.1873, allocations: 116.7 kB / 388.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.1873, allocations: 0 / 388.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.1878, allocations: 31.95 kB / 388.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.188, allocations: 19.98 kB / 388.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.188, allocations: 7.984 kB / 388.7 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003925/0.1884, allocations: 209.9 kB / 388.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1884, allocations: 0 / 388.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007104/0.1892, allocations: 71.91 kB / 389 MB, free: 0.6055 MB / 318.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.0002186/0.1894, allocations: 107.2 kB / 389.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.1913, allocations: 417.9 kB / 389.5 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1913, allocations: 0 / 389.5 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008907/0.1922, allocations: 235.1 kB / 389.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005486/0.1928, allocations: 44.7 kB / 389.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/0.1947, allocations: 456.1 kB / 390.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.1953, allocations: 0.7596 MB / 391 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001839/0.1955, allocations: 22.3 kB / 391 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.513e-05/0.1956, allocations: 19.44 kB / 391 MB, free: 14.47 MB / 334.1 MB Notification: Performance of SimCode: time 1.502e-06/0.1956, allocations: 0 / 391 MB, free: 14.47 MB / 334.1 MB Notification: Performance of Templates: time 0.01742/0.213, allocations: 4.218 MB / 395.2 MB, free: 10.25 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1)