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.001566/0.001566, allocations: 108.9 kB / 16.51 MB, free: 6.707 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.001654/0.001654, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.94/1.94, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.001374/0.001375, allocations: 47.92 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1473, allocations: 46.62 MB / 326 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.005054/0.1525, allocations: 2.799 MB / 328.8 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.154, allocations: 0.6865 MB / 329.4 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.1542, allocations: 8 kB / 329.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1544, allocations: 31.77 kB / 329.5 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002006/0.1546, allocations: 75.38 kB / 329.6 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.155, allocations: 75.86 kB / 329.6 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004053/0.1554, allocations: 354.5 kB / 330 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/0.1557, allocations: 107.6 kB / 330.1 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.156, allocations: 135.4 kB / 330.2 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.1562, allocations: 155.3 kB / 330.4 MB, free: 468 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.1563, allocations: 24 kB / 330.4 MB, free: 444 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.161e-05/0.1563, allocations: 24 kB / 330.4 MB, free: 420 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.008e-05/0.1564, allocations: 59.75 kB / 330.5 MB, free: 360 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1567, allocations: 155.2 kB / 330.6 MB, free: 204 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.1572, allocations: 363 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1572, allocations: 0 / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1572, allocations: 0 / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1572, allocations: 0 / 331 MB, free: 15.84 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.001495/0.1587, allocations: 0.6459 MB / 331.6 MB, free: 15.14 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1588, allocations: 12.03 kB / 331.6 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.209e-05/0.1589, allocations: 32.56 kB / 331.7 MB, free: 15.1 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000404/0.1593, allocations: 284.6 kB / 331.9 MB, free: 14.78 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1593, allocations: 20.94 kB / 332 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.151e-05/0.1594, allocations: 28.31 kB / 332 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.1601, allocations: 303.7 kB / 332.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1602, allocations: 0 / 332.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.1602, allocations: 8 kB / 332.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1602, allocations: 8 kB / 332.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008367/0.1611, allocations: 257.5 kB / 332.5 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002091/0.1632, allocations: 1.097 MB / 333.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008082/0.164, allocations: 206.5 kB / 333.8 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.1643, allocations: 92.78 kB / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.562e-05/0.1644, allocations: 4 kB / 333.9 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005846/0.165, allocations: 165.9 kB / 334.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.623e-06/0.165, allocations: 4 kB / 334.1 MB, free: 12.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.002218/0.1672, allocations: 0.5066 MB / 334.6 MB, free: 11.94 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.1673, allocations: 110.8 kB / 334.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.1678, allocations: 290.5 kB / 335 MB, free: 11.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1678, allocations: 25.7 kB / 335 MB, free: 11.48 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.168, allocations: 195.6 kB / 335.2 MB, free: 11.29 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.1681, allocations: 43.39 kB / 335.3 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/0.1682, allocations: 53.84 kB / 335.3 MB, free: 11.19 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1684, allocations: 334.8 kB / 335.6 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.1688, allocations: 96.16 kB / 335.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/0.1692, allocations: 202 kB / 335.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007627/0.17, allocations: 301.5 kB / 336.2 MB, free: 10.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.17, allocations: 7.875 kB / 336.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0012/0.1712, allocations: 431.7 kB / 336.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.07e-05/0.1713, allocations: 29.7 kB / 336.7 MB, free: 9.688 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.1713, allocations: 4 kB / 336.7 MB, free: 9.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.1718, allocations: 76.83 kB / 336.8 MB, free: 9.605 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002458/0.172, allocations: 51.91 kB / 336.8 MB, free: 9.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.1746, allocations: 1.578 MB / 338.4 MB, free: 7.844 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004598/0.1751, allocations: 59.7 kB / 338.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.1751, allocations: 19.94 kB / 338.5 MB, free: 7.766 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.0002876/0.1754, allocations: 150.8 kB / 338.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.1755, allocations: 23.66 kB / 338.6 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.1755, allocations: 25.7 kB / 338.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1756, allocations: 0 / 338.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1756, allocations: 4 kB / 338.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1756, allocations: 0 / 338.7 MB, free: 7.555 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.176, allocations: 313.3 kB / 339 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.176, allocations: 0 / 339 MB, free: 7.199 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.1762, allocations: 23.91 kB / 339 MB, free: 7.176 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002882/0.1765, allocations: 60.81 kB / 339.1 MB, free: 7.113 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.1765, allocations: 11.98 kB / 339.1 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.1787, allocations: 1.57 MB / 340.6 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1787, allocations: 4.031 kB / 340.6 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.1797, allocations: 309.8 kB / 341 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.1799, allocations: 120.7 kB / 341.1 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.18, allocations: 4 kB / 341.1 MB, free: 4.93 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1802, allocations: 31.97 kB / 341.1 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.1804, allocations: 19.97 kB / 341.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.1804, allocations: 7.984 kB / 341.1 MB, free: 4.871 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003172/0.1807, allocations: 198 kB / 341.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of sort global known variables: time 7.92e-07/0.1807, allocations: 0 / 341.3 MB, free: 4.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.1812, allocations: 79.84 kB / 341.4 MB, free: 4.598 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.0002007/0.1814, allocations: 103.2 kB / 341.5 MB, free: 4.484 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1824, allocations: 410.5 kB / 341.9 MB, free: 4.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1825, allocations: 4.125 kB / 341.9 MB, free: 4.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.1829, allocations: 226.4 kB / 342.1 MB, free: 3.82 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.1834, allocations: 44.8 kB / 342.2 MB, free: 3.777 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1848, allocations: 0.5458 MB / 342.7 MB, free: 3.207 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.1854, allocations: 0.7482 MB / 343.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.1855, allocations: 26.28 kB / 343.5 MB, free: 2.41 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.597e-05/0.1856, allocations: 19.44 kB / 343.5 MB, free: 2.391 MB / 286.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1857, allocations: 0 / 343.5 MB, free: 2.391 MB / 286.1 MB Notification: Performance of Templates: time 0.01019/0.1959, allocations: 3.791 MB / 347.3 MB, free: 14.6 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)