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.001325/0.001325, allocations: 97.61 kB / 16.5 MB, free: 6.641 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.001579/0.001579, allocations: 195.5 kB / 17.42 MB, free: 6.066 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.745/1.745, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001392/0.001392, allocations: 55.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1218, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007854/0.1297, allocations: 5.707 MB / 331.7 MB, free: 15.14 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.1329, allocations: 1.197 MB / 332.9 MB, free: 13.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.1341, allocations: 19.94 kB / 332.9 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.135, allocations: 127 kB / 333 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.1363, allocations: 238 kB / 333.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008329/0.1372, allocations: 191.8 kB / 333.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001907/0.1391, allocations: 1.017 MB / 334.4 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.1402, allocations: 444.6 kB / 334.9 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008765/0.1411, allocations: 394.6 kB / 335.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009927/0.1421, allocations: 461.9 kB / 335.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001512/0.1422, allocations: 72 kB / 335.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.1424, allocations: 72 kB / 335.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.1426, allocations: 195.3 kB / 336 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.1433, allocations: 489.6 kB / 336.5 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009755/0.1443, allocations: 1.055 MB / 337.6 MB, free: 9.18 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1443, allocations: 3.984 kB / 337.6 MB, free: 9.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1443, allocations: 0 / 337.6 MB, free: 9.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.1443, allocations: 8 kB / 337.6 MB, free: 9.168 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.002178/0.1465, allocations: 1.236 MB / 338.8 MB, free: 7.883 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.1466, allocations: 8.031 kB / 338.8 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002142/0.1468, allocations: 103.7 kB / 338.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.1476, allocations: 459.1 kB / 339.4 MB, free: 7.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.1476, allocations: 70.38 kB / 339.5 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.1478, allocations: 92.28 kB / 339.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.1492, allocations: 0.8716 MB / 340.4 MB, free: 6.227 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.1493, allocations: 0 / 340.4 MB, free: 6.227 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1494, allocations: 44 kB / 340.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.1494, allocations: 24 kB / 340.5 MB, free: 6.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009632/0.1504, allocations: 0.57 MB / 341 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.1549, allocations: 2.96 MB / 344 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.1553, allocations: 302.4 kB / 344.3 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.1557, allocations: 272.8 kB / 344.6 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1557, allocations: 4 kB / 344.6 MB, free: 1.93 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.1558, allocations: 38.56 kB / 344.6 MB, free: 1.883 MB / 286.1 MB Notification: Performance of pre-optimization done (n=42): time 3.927e-06/0.1558, allocations: 3.938 kB / 344.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.001502/0.1573, allocations: 0.6548 MB / 345.3 MB, free: 1.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.1574, allocations: 55.41 kB / 345.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.1579, allocations: 0.5102 MB / 345.8 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.158, allocations: 41.7 kB / 345.9 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002789/0.1583, allocations: 481.6 kB / 346.3 MB, free: 84 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1584, allocations: 161.9 kB / 346.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/0.1586, allocations: 138.5 kB / 346.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.1587, allocations: 362.8 kB / 347 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.159, allocations: 169.9 kB / 347.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.1595, allocations: 457.6 kB / 347.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.1604, allocations: 0.644 MB / 348.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1604, allocations: 8 kB / 348.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001166/0.1615, allocations: 0.7572 MB / 349 MB, free: 13.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1616, allocations: 15.92 kB / 349 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.1616, allocations: 12 kB / 349 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000295/0.1619, allocations: 88.75 kB / 349.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.1625, allocations: 187.7 kB / 349.3 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.1644, allocations: 1.815 MB / 351.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004987/0.1649, allocations: 87.05 kB / 351.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-05/0.165, allocations: 39.94 kB / 351.3 MB, free: 10.76 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.0003359/0.1653, allocations: 217.5 kB / 351.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.261e-05/0.1654, allocations: 59.41 kB / 351.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.1655, allocations: 69.5 kB / 351.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1655, allocations: 4 kB / 351.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.1656, allocations: 0 / 351.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1656, allocations: 0 / 351.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007789/0.1663, allocations: 0.6453 MB / 352.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1664, allocations: 0 / 352.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.1668, allocations: 103.9 kB / 352.3 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.167, allocations: 73.03 kB / 352.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1671, allocations: 7.984 kB / 352.4 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001713/0.1688, allocations: 1.792 MB / 354.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.1688, allocations: 4 kB / 354.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.1698, allocations: 0.662 MB / 354.9 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.1699, allocations: 132.4 kB / 355 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.17, allocations: 15.98 kB / 355 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.1703, allocations: 47.91 kB / 355.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.1704, allocations: 27.95 kB / 355.1 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.1704, allocations: 15.98 kB / 355.1 MB, free: 6.66 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003634/0.1708, allocations: 342.9 kB / 355.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1708, allocations: 0 / 355.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007911/0.1716, allocations: 243.2 kB / 355.7 MB, free: 6.09 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.0002008/0.1718, allocations: 123.2 kB / 355.8 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.1728, allocations: 0.5883 MB / 356.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1729, allocations: 0 / 356.4 MB, free: 5.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004611/0.1733, allocations: 318.4 kB / 356.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007398/0.1741, allocations: 127.6 kB / 356.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.1767, allocations: 1.76 MB / 358.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005861/0.1773, allocations: 0.9301 MB / 359.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.1777, allocations: 69.22 kB / 359.6 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.1778, allocations: 39.44 kB / 359.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1778, allocations: 0 / 359.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of Templates: time 0.01287/0.1906, allocations: 6.807 MB / 366.4 MB, free: 11.25 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)