Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01118/0.01118, allocations: 96.23 kB / 15.73 MB, free: 6.062 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.001848/0.001848, allocations: 198 kB / 16.68 MB, free: 5.98 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.835/1.835, allocations: 205.1 MB / 222.6 MB, free: 4.5 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.001176/0.001176, allocations: 54.89 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1259, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004718/0.1306, allocations: 2.805 MB / 376 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1324, allocations: 0.7602 MB / 376.8 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.1327, allocations: 7.938 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.1329, allocations: 43.58 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.1332, allocations: 99.11 kB / 376.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004905/0.1337, allocations: 103.8 kB / 377 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005871/0.1343, allocations: 394.3 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.1345, allocations: 96.86 kB / 377.5 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1348, allocations: 151.4 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.135, allocations: 167.2 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.1351, allocations: 36 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.89e-05/0.1352, allocations: 32 kB / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.1353, allocations: 67.7 kB / 377.9 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.1355, allocations: 167.2 kB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.1359, allocations: 350.6 kB / 378.4 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1359, allocations: 3.938 kB / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1359, allocations: 0 / 378.5 MB, free: 12 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.136, allocations: 0 / 378.5 MB, free: 12 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001361/0.1373, allocations: 0.6728 MB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1374, allocations: 16.03 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.839e-05/0.1375, allocations: 40.64 kB / 379.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.1379, allocations: 280.7 kB / 379.5 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.138, allocations: 20.88 kB / 379.5 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-05/0.138, allocations: 28.36 kB / 379.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.1387, allocations: 269.1 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1387, allocations: 0 / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1387, allocations: 12 kB / 379.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1388, allocations: 7.984 kB / 379.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008079/0.1396, allocations: 270 kB / 380 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.1412, allocations: 0.8793 MB / 380.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.1421, allocations: 351.8 kB / 381.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.1425, allocations: 124.8 kB / 381.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.1426, allocations: 4 kB / 381.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.1432, allocations: 193.6 kB / 381.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=18): time 1.824e-06/0.1432, allocations: 0 / 381.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.002024/0.1452, allocations: 0.5848 MB / 382.2 MB, free: 8.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.1453, allocations: 106.8 kB / 382.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1457, allocations: 270.6 kB / 382.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1457, allocations: 29.7 kB / 382.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1459, allocations: 176.3 kB / 382.7 MB, free: 7.422 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.779e-05/0.146, allocations: 63.44 kB / 382.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.1461, allocations: 45.94 kB / 382.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1463, allocations: 342.8 kB / 383.2 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1466, allocations: 109.5 kB / 383.3 MB, free: 6.855 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.147, allocations: 160.1 kB / 383.4 MB, free: 6.672 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.1477, allocations: 283.4 kB / 383.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1477, allocations: 3.984 kB / 383.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001121/0.1488, allocations: 419.8 kB / 384.1 MB, free: 5.938 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.1489, allocations: 33.7 kB / 384.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1489, allocations: 8.031 kB / 384.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.1494, allocations: 96.72 kB / 384.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.1497, allocations: 55.89 kB / 384.3 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00186/0.1515, allocations: 1.567 MB / 385.9 MB, free: 4.031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003397/0.1519, allocations: 47.73 kB / 385.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.618e-05/0.1519, allocations: 8 kB / 385.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003812/0.1523, allocations: 204.3 kB / 386.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003074/0.1526, allocations: 156.3 kB / 386.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005948/0.1533, allocations: 271.1 kB / 386.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.1533, allocations: 0 / 386.6 MB, free: 3.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007434/0.154, allocations: 339.9 kB / 386.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.1541, allocations: 41.69 kB / 386.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1541, allocations: 0 / 386.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.963e-05/0.1542, allocations: 20.86 kB / 387 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/0.1544, allocations: 59.89 kB / 387 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.1558, allocations: 1.544 MB / 388.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.1561, allocations: 47.98 kB / 388.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1562, allocations: 8 kB / 388.6 MB, free: 1.09 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001879/0.1564, allocations: 196.1 kB / 388.8 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.1564, allocations: 27.8 kB / 388.8 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.1565, allocations: 30.27 kB / 388.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1565, allocations: 3.984 kB / 388.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1565, allocations: 0 / 388.9 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1565, allocations: 4 kB / 388.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.1579, allocations: 0.7144 MB / 389.6 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.1579, allocations: 0 / 389.6 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.1581, allocations: 39.95 kB / 389.6 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002393/0.1584, allocations: 44.81 kB / 389.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.1584, allocations: 8 kB / 389.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/0.1604, allocations: 1.551 MB / 391.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.1604, allocations: 3.984 kB / 391.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.1617, allocations: 0.5054 MB / 391.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.1619, allocations: 108.9 kB / 391.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.1619, allocations: 0 / 391.8 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1622, allocations: 31.97 kB / 391.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1623, allocations: 20.11 kB / 391.9 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1623, allocations: 11.94 kB / 391.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002613/0.1626, allocations: 202 kB / 392.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1626, allocations: 0 / 392.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00075/0.1634, allocations: 131.7 kB / 392.2 MB, free: 13.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * 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 (16): * Single equations (assignments): 13 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002808/0.1637, allocations: 115.1 kB / 392.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.1654, allocations: 0.6991 MB / 393 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1654, allocations: 0 / 393 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004742/0.1659, allocations: 247.1 kB / 393.3 MB, free: 12.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.1664, allocations: 44.53 kB / 393.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1677, allocations: 0.5527 MB / 393.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004885/0.1682, allocations: 0.7598 MB / 394.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.1683, allocations: 30.28 kB / 394.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.1684, allocations: 27.44 kB / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1684, allocations: 0 / 394.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of Templates: time 0.01045/0.1789, allocations: 4.276 MB / 399 MB, free: 6.344 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1)