Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0123/0.0123, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002429/0.002429, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.923/1.923, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.002694/0.002694, allocations: 51.58 kB / 326.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1576, allocations: 46.63 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.005092/0.1627, allocations: 2.692 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1645, allocations: 0.7213 MB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.1649, allocations: 4 kB / 376.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1651, allocations: 39.58 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003047/0.1654, allocations: 99.19 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.1658, allocations: 87.86 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.1663, allocations: 358.4 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003062/0.1666, allocations: 96.62 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002624/0.1669, allocations: 131.4 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1672, allocations: 147.4 kB / 377.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.851e-05/0.1672, allocations: 32 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.474e-05/0.1673, allocations: 28 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.1674, allocations: 67.75 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.1676, allocations: 143.3 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.1681, allocations: 318.9 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1681, allocations: 4 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1681, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.1681, allocations: 3.938 kB / 378.1 MB, free: 12.32 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001317/0.1694, allocations: 0.638 MB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1695, allocations: 8.031 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1696, allocations: 32.56 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004801/0.1701, allocations: 279.5 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.1701, allocations: 16.81 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.1702, allocations: 16.38 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/0.1708, allocations: 255.5 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1708, allocations: 0 / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.1709, allocations: 11.94 kB / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1709, allocations: 4 kB / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007625/0.1717, allocations: 257.5 kB / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.1735, allocations: 0.8502 MB / 380.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.1743, allocations: 234.6 kB / 380.7 MB, free: 9.559 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.1746, allocations: 104.8 kB / 380.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.1746, allocations: 4 kB / 380.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/0.175, allocations: 169.8 kB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.214e-06/0.1751, allocations: 0 / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.00192/0.177, allocations: 0.5926 MB / 381.6 MB, free: 8.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.28e-05/0.1771, allocations: 106.8 kB / 381.7 MB, free: 8.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.1774, allocations: 274.4 kB / 382 MB, free: 8.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1774, allocations: 29.7 kB / 382 MB, free: 8.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.1776, allocations: 175.9 kB / 382.2 MB, free: 8.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1776, allocations: 43.39 kB / 382.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.1777, allocations: 53.61 kB / 382.3 MB, free: 7.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1779, allocations: 330.8 kB / 382.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.1782, allocations: 96.78 kB / 382.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1785, allocations: 173.2 kB / 382.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006098/0.1791, allocations: 274.3 kB / 383.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1791, allocations: 0 / 383.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00108/0.1802, allocations: 423.5 kB / 383.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.1803, allocations: 33.7 kB / 383.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1803, allocations: 8.125 kB / 383.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/0.1808, allocations: 104.7 kB / 383.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.181, allocations: 43.91 kB / 383.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.1834, allocations: 1.943 MB / 385.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.1837, allocations: 43.72 kB / 385.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.1837, allocations: 11.94 kB / 385.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003604/0.1841, allocations: 192.1 kB / 385.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002981/0.1844, allocations: 157.3 kB / 386 MB, free: 3.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004975/0.1849, allocations: 245.2 kB / 386.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.1849, allocations: 0 / 386.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007794/0.1857, allocations: 359.7 kB / 386.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.1858, allocations: 29.7 kB / 386.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1858, allocations: 4 kB / 386.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001441/0.1859, allocations: 48.77 kB / 386.7 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.1861, allocations: 39.97 kB / 386.8 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.1875, allocations: 1.721 MB / 388.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.1879, allocations: 51.75 kB / 388.5 MB, free: 1.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.31e-05/0.1879, allocations: 8 kB / 388.5 MB, free: 1.156 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001702/0.1881, allocations: 192.2 kB / 388.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.1881, allocations: 27.78 kB / 388.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.1882, allocations: 25.83 kB / 388.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1882, allocations: 4 kB / 388.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1882, allocations: 0 / 388.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1882, allocations: 0 / 388.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.1885, allocations: 297.4 kB / 389.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1885, allocations: 0 / 389.1 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.1886, allocations: 23.92 kB / 389.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/0.1889, allocations: 68.8 kB / 389.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1889, allocations: 4 kB / 389.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.1908, allocations: 1.869 MB / 391 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.1909, allocations: 3.984 kB / 391 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.1916, allocations: 325.5 kB / 391.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1918, allocations: 92.83 kB / 391.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.1918, allocations: 7.938 kB / 391.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.192, allocations: 39.95 kB / 391.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.1921, allocations: 15.98 kB / 391.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1921, allocations: 7.984 kB / 391.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.1923, allocations: 186 kB / 391.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1924, allocations: 3.938 kB / 391.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000635/0.193, allocations: 123.8 kB / 391.8 MB, free: 13.63 MB / 334.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.0001643/0.1932, allocations: 111.2 kB / 391.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001658/0.1948, allocations: 0.7385 MB / 392.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1949, allocations: 0 / 392.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.1954, allocations: 235.5 kB / 392.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.1958, allocations: 48.58 kB / 392.9 MB, free: 12.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.1981, allocations: 0.695 MB / 393.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.1988, allocations: 0.7444 MB / 394.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001616/0.1989, allocations: 30.28 kB / 394.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.199, allocations: 23.44 kB / 394.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.199, allocations: 0 / 394.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Templates: time 0.01087/0.2099, allocations: 4.267 MB / 398.7 MB, free: 6.613 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)