Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008237/0.008237, allocations: 102 kB / 15.73 MB, free: 6.051 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.001545/0.001545, allocations: 195 kB / 16.68 MB, free: 5.969 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.668/1.668, allocations: 205.1 MB / 222.6 MB, free: 4.375 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.001475/0.001475, allocations: 50.91 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1331, allocations: 46.62 MB / 373.2 MB, free: 1.242 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007409/0.1406, allocations: 5.696 MB / 378.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.1438, allocations: 1.204 MB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006271/0.1445, allocations: 20 kB / 380.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005105/0.1451, allocations: 170.4 kB / 380.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007219/0.1458, allocations: 277.4 kB / 380.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1464, allocations: 223.7 kB / 380.8 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.1476, allocations: 1.06 MB / 381.9 MB, free: 8.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007477/0.1483, allocations: 0.5219 MB / 382.4 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.1488, allocations: 414.6 kB / 382.8 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.1493, allocations: 474 kB / 383.2 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.1495, allocations: 100 kB / 383.3 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.1496, allocations: 96 kB / 383.4 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.1498, allocations: 219.2 kB / 383.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005516/0.1504, allocations: 0.5016 MB / 384.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.1515, allocations: 1.109 MB / 385.3 MB, free: 5.117 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1515, allocations: 4 kB / 385.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1515, allocations: 0 / 385.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.798e-05/0.1516, allocations: 0 / 385.3 MB, free: 5.113 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002191/0.1538, allocations: 1.236 MB / 386.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.1538, allocations: 12.03 kB / 386.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.154, allocations: 103.8 kB / 386.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000796/0.1548, allocations: 459 kB / 387.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.1549, allocations: 70.38 kB / 387.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.1551, allocations: 92.38 kB / 387.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1564, allocations: 0.8755 MB / 388.1 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.1565, allocations: 3.938 kB / 388.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.1566, allocations: 36 kB / 388.1 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.1566, allocations: 27.98 kB / 388.2 MB, free: 2.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009631/0.1576, allocations: 0.57 MB / 388.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.1618, allocations: 2.945 MB / 391.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.1623, allocations: 302.4 kB / 392 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003942/0.1627, allocations: 268.8 kB / 392.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1627, allocations: 8 kB / 392.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.1628, allocations: 34.56 kB / 392.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 3.266e-06/0.1628, allocations: 0 / 392.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001545/0.1643, allocations: 0.6587 MB / 392.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.1644, allocations: 55.41 kB / 393 MB, free: 13.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.1649, allocations: 0.5102 MB / 393.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.165, allocations: 37.7 kB / 393.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.1653, allocations: 485.5 kB / 394 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1654, allocations: 157.9 kB / 394.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.1656, allocations: 142.4 kB / 394.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1658, allocations: 362.8 kB / 394.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.1661, allocations: 169.9 kB / 394.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004767/0.1666, allocations: 461.4 kB / 395.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007696/0.1673, allocations: 0.6403 MB / 395.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1674, allocations: 4 kB / 395.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001131/0.1685, allocations: 0.7643 MB / 396.7 MB, free: 9.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1685, allocations: 8.688 kB / 396.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.1686, allocations: 8 kB / 396.7 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003388/0.1689, allocations: 88.81 kB / 396.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.1696, allocations: 191.7 kB / 397 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.1716, allocations: 2.006 MB / 399 MB, free: 6.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.1721, allocations: 83.03 kB / 399.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/0.1722, allocations: 40 kB / 399.1 MB, free: 6.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.1725, allocations: 217.5 kB / 399.3 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.1726, allocations: 55.34 kB / 399.4 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.1727, allocations: 69.58 kB / 399.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1727, allocations: 7.984 kB / 399.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.1727, allocations: 0 / 399.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.1728, allocations: 0 / 399.4 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.1735, allocations: 0.6414 MB / 400.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1735, allocations: 0 / 400.1 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.1739, allocations: 99.88 kB / 400.2 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/0.1742, allocations: 76.73 kB / 400.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.1742, allocations: 12.22 kB / 400.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.176, allocations: 1.994 MB / 402.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.176, allocations: 0 / 402.3 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000916/0.1769, allocations: 0.662 MB / 402.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.1771, allocations: 136.3 kB / 403.1 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.277e-05/0.1771, allocations: 8 kB / 403.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.1776, allocations: 47.97 kB / 403.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/0.1776, allocations: 31.89 kB / 403.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1777, allocations: 16 kB / 403.2 MB, free: 2.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.1781, allocations: 342.9 kB / 403.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1781, allocations: 0 / 403.5 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008155/0.1789, allocations: 251.2 kB / 403.7 MB, free: 1.637 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.1791, allocations: 111.2 kB / 403.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1801, allocations: 0.592 MB / 404.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1801, allocations: 0 / 404.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.1806, allocations: 315.7 kB / 404.7 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.1812, allocations: 122.5 kB / 404.9 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/0.1836, allocations: 1.39 MB / 406.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005214/0.1841, allocations: 0.9298 MB / 407.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000262/0.1844, allocations: 69.22 kB / 407.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.302e-05/0.1845, allocations: 39.44 kB / 407.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1845, allocations: 0 / 407.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01416/0.1987, allocations: 7.417 MB / 414.7 MB, free: 6.559 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)