Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001042/0.001042, allocations: 93.83 kB / 16.65 MB, free: 6.598 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.001144/0.001144, allocations: 179 kB / 17.56 MB, free: 6.199 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.672/1.672, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.0005135/0.0005134, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007006/0.1401, allocations: 5.243 MB / 333.6 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.1439, allocations: 1.189 MB / 334.7 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.1447, allocations: 19.94 kB / 334.8 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.1451, allocations: 127 kB / 334.9 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008595/0.146, allocations: 238 kB / 335.1 MB, free: 12.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.1465, allocations: 187.8 kB / 335.3 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.148, allocations: 1.017 MB / 336.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008244/0.1488, allocations: 436.6 kB / 336.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.1493, allocations: 350.7 kB / 337.1 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005351/0.1499, allocations: 409.9 kB / 337.5 MB, free: 10.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.199e-05/0.15, allocations: 48 kB / 337.5 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1501, allocations: 52 kB / 337.6 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1503, allocations: 155.3 kB / 337.7 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005331/0.1508, allocations: 479.3 kB / 338.2 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.152, allocations: 1.027 MB / 339.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.152, allocations: 0 / 339.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.152, allocations: 0 / 339.2 MB, free: 8.742 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.152, allocations: 4 kB / 339.2 MB, free: 8.738 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002/0.154, allocations: 1.08 MB / 340.3 MB, free: 7.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.1541, allocations: 8.031 kB / 340.3 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.1543, allocations: 107.7 kB / 340.4 MB, free: 7.496 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.155, allocations: 455.2 kB / 340.9 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.1551, allocations: 70.38 kB / 340.9 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.1553, allocations: 96.28 kB / 341 MB, free: 6.844 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1568, allocations: 0.8794 MB / 341.9 MB, free: 5.941 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.1568, allocations: 0 / 341.9 MB, free: 5.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.81e-05/0.1569, allocations: 44 kB / 342 MB, free: 5.898 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.1569, allocations: 24 kB / 342 MB, free: 5.875 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.1579, allocations: 0.5739 MB / 342.6 MB, free: 5.301 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005132/0.1631, allocations: 2.98 MB / 345.5 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004994/0.1636, allocations: 306.4 kB / 345.8 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.164, allocations: 268.8 kB / 346.1 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.1641, allocations: 4 kB / 346.1 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.834e-05/0.1641, allocations: 42.56 kB / 346.1 MB, free: 1.57 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 4.759e-06/0.1641, allocations: 3.984 kB / 346.2 MB, free: 1.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001649/0.1658, allocations: 0.6666 MB / 346.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/0.1659, allocations: 55.41 kB / 346.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.1666, allocations: 0.5218 MB / 347.4 MB, free: 280 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.437e-05/0.1667, allocations: 33.7 kB / 347.4 MB, free: 240 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.1671, allocations: 485.6 kB / 347.9 MB, free: 15.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.1673, allocations: 153.8 kB / 348.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.1674, allocations: 77.67 kB / 348.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.1676, allocations: 362.8 kB / 348.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/0.1679, allocations: 169.9 kB / 348.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.1684, allocations: 453.6 kB / 349.1 MB, free: 14.42 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008498/0.1693, allocations: 0.6518 MB / 349.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.1693, allocations: 4 kB / 349.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001283/0.1706, allocations: 0.765 MB / 350.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.097e-05/0.1707, allocations: 12 kB / 350.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.1707, allocations: 15.92 kB / 350.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003221/0.171, allocations: 84.81 kB / 350.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006762/0.1717, allocations: 203.7 kB / 350.8 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.1737, allocations: 1.803 MB / 352.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005613/0.1743, allocations: 87.06 kB / 352.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/0.1744, allocations: 36 kB / 352.7 MB, free: 10.5 MB / 302.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.0004279/0.1748, allocations: 217.5 kB / 353 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1749, allocations: 59.34 kB / 353 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001243/0.1751, allocations: 65.5 kB / 353.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1751, allocations: 4 kB / 353.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/0.1751, allocations: 4 kB / 353.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.1751, allocations: 3.984 kB / 353.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.176, allocations: 0.6413 MB / 353.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.176, allocations: 0 / 353.7 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.1764, allocations: 111.9 kB / 353.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002151/0.1767, allocations: 69.03 kB / 353.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.1767, allocations: 11.98 kB / 353.9 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001979/0.1787, allocations: 1.799 MB / 355.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1787, allocations: 0 / 355.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.1797, allocations: 0.6659 MB / 356.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.1799, allocations: 132.4 kB / 356.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.18, allocations: 15.98 kB / 356.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.1804, allocations: 55.84 kB / 356.6 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.1805, allocations: 27.97 kB / 356.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.1805, allocations: 15.98 kB / 356.6 MB, free: 6.371 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004353/0.1809, allocations: 342.9 kB / 357 MB, free: 6.039 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.181, allocations: 0 / 357 MB, free: 6.039 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008324/0.1818, allocations: 243.2 kB / 357.2 MB, free: 5.801 MB / 302.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.0002063/0.182, allocations: 119.2 kB / 357.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.1831, allocations: 0.5927 MB / 357.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1831, allocations: 0 / 357.9 MB, free: 5.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000466/0.1836, allocations: 318.5 kB / 358.2 MB, free: 4.742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.1843, allocations: 119.1 kB / 358.3 MB, free: 4.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.187, allocations: 1.847 MB / 360.2 MB, free: 2.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.1875, allocations: 0.934 MB / 361.1 MB, free: 1.789 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003291/0.1879, allocations: 69.22 kB / 361.2 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.188, allocations: 39.44 kB / 361.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of SimCode: time 6.31e-07/0.188, allocations: 0 / 361.2 MB, free: 1.684 MB / 302.1 MB Notification: Performance of Templates: time 0.01405/0.202, allocations: 6.758 MB / 368 MB, free: 10.93 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)