Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.008144/0.008144, 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.001702/0.001702, allocations: 198.7 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.71/1.71, allocations: 205.1 MB / 222.5 MB, free: 4.477 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.001198/0.001198, allocations: 50.75 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 46.62 MB / 373.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007246/0.1165, allocations: 5.7 MB / 378.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.1201, allocations: 1.2 MB / 380.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008215/0.1209, allocations: 16 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005847/0.1216, allocations: 170.4 kB / 380.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009117/0.1225, allocations: 281.4 kB / 380.6 MB, free: 9.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.1232, allocations: 223.7 kB / 380.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.1243, allocations: 1.071 MB / 381.9 MB, free: 8.555 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.1251, allocations: 0.5141 MB / 382.4 MB, free: 8.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.1255, allocations: 426.5 kB / 382.8 MB, free: 7.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.1261, allocations: 462 kB / 383.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1262, allocations: 100 kB / 383.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1263, allocations: 100 kB / 383.4 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.1265, allocations: 227.2 kB / 383.7 MB, free: 6.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.1271, allocations: 0.5015 MB / 384.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001171/0.1283, allocations: 1.102 MB / 385.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/0.1283, allocations: 0 / 385.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1283, allocations: 0 / 385.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.1283, allocations: 0 / 385.3 MB, free: 5.125 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.002069/0.1304, allocations: 1.236 MB / 386.5 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.1305, allocations: 12.02 kB / 386.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.1307, allocations: 103.8 kB / 386.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000704/0.1314, allocations: 459 kB / 387.1 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.1314, allocations: 78.38 kB / 387.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1316, allocations: 92.38 kB / 387.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.133, allocations: 0.8716 MB / 388.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.133, allocations: 0 / 388.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-05/0.1331, allocations: 40 kB / 388.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.337e-05/0.1331, allocations: 24 kB / 388.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/0.1341, allocations: 0.5739 MB / 388.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/0.1383, allocations: 2.933 MB / 391.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.1387, allocations: 302.4 kB / 392 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.1391, allocations: 268.8 kB / 392.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1391, allocations: 4 kB / 392.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.1392, allocations: 42.56 kB / 392.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.1392, allocations: 0 / 392.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001415/0.1406, allocations: 0.6548 MB / 392.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.1406, allocations: 55.41 kB / 393 MB, free: 13.11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.1412, allocations: 0.5141 MB / 393.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/0.1412, allocations: 37.7 kB / 393.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.1415, allocations: 489.5 kB / 394 MB, free: 12.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1417, allocations: 153.9 kB / 394.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.1418, allocations: 138.5 kB / 394.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.142, allocations: 366.7 kB / 394.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.1423, allocations: 169.9 kB / 394.8 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004398/0.1427, allocations: 457.4 kB / 395.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007729/0.1435, allocations: 0.652 MB / 395.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.1435, allocations: 4 kB / 395.9 MB, free: 9.867 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001154/0.1447, allocations: 0.757 MB / 396.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1447, allocations: 13.03 kB / 396.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.1447, allocations: 8 kB / 396.7 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.145, allocations: 88.8 kB / 396.8 MB, free: 8.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/0.1457, allocations: 195.8 kB / 397 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.1476, allocations: 1.998 MB / 399 MB, free: 6.656 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004669/0.1481, allocations: 95.02 kB / 399.1 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.1481, allocations: 32 kB / 399.1 MB, free: 6.531 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.0002852/0.1484, allocations: 217.5 kB / 399.3 MB, free: 6.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.412e-05/0.1485, allocations: 59.34 kB / 399.4 MB, free: 6.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.1486, allocations: 69.44 kB / 399.4 MB, free: 6.184 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.1486, allocations: 4 kB / 399.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1486, allocations: 0 / 399.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1487, allocations: 4.281 kB / 399.4 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/0.1494, allocations: 0.6375 MB / 400.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1494, allocations: 0 / 400.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003952/0.1498, allocations: 107.9 kB / 400.2 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001968/0.15, allocations: 68.75 kB / 400.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.1501, allocations: 15.98 kB / 400.3 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.1518, allocations: 1.99 MB / 402.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1518, allocations: 0 / 402.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000886/0.1527, allocations: 0.6658 MB / 402.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.1528, allocations: 140.3 kB / 403.1 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.1529, allocations: 12.06 kB / 403.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.1533, allocations: 39.97 kB / 403.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.1533, allocations: 31.95 kB / 403.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1534, allocations: 16 kB / 403.2 MB, free: 2.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.1537, allocations: 342.9 kB / 403.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1537, allocations: 288 / 403.5 MB, free: 1.891 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007258/0.1545, allocations: 247.2 kB / 403.7 MB, free: 1.648 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.0001611/0.1546, allocations: 115.2 kB / 403.9 MB, free: 1.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009595/0.1556, allocations: 0.5968 MB / 404.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1556, allocations: 0 / 404.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.1561, allocations: 322.6 kB / 404.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.1567, allocations: 122.3 kB / 404.9 MB, free: 488 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.1591, allocations: 1.375 MB / 406.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.1596, allocations: 0.9337 MB / 407.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.1599, allocations: 65.22 kB / 407.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.16, allocations: 39.44 kB / 407.3 MB, free: 14 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.16, allocations: 4 kB / 407.3 MB, free: 14 MB / 350.1 MB Notification: Performance of Templates: time 0.0131/0.1731, allocations: 7.277 MB / 414.6 MB, free: 6.707 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)