Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 103.9 kB / 16.92 MB, free: 5.793 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.002358/0.002358, allocations: 191.5 kB / 17.85 MB, free: 5.188 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.755/1.755, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001238/0.001238, allocations: 43.94 kB / 280 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 46.64 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004331/0.1312, allocations: 2.777 MB / 329.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1327, allocations: 0.6436 MB / 330 MB, free: 1.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.1329, allocations: 4 kB / 330 MB, free: 1.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1331, allocations: 55.44 kB / 330.1 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001911/0.1333, allocations: 91.19 kB / 330.2 MB, free: 0.875 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.1335, allocations: 79.83 kB / 330.3 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000374/0.1339, allocations: 350.9 kB / 330.6 MB, free: 464 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.1342, allocations: 139.2 kB / 330.7 MB, free: 328 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1344, allocations: 127.5 kB / 330.9 MB, free: 200 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1346, allocations: 147.4 kB / 331 MB, free: 52 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.1346, allocations: 32 kB / 331 MB, free: 20 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.513e-05/0.1347, allocations: 32.05 kB / 331.1 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.1348, allocations: 79.62 kB / 331.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1349, allocations: 155.3 kB / 331.3 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.1353, allocations: 359 kB / 331.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1353, allocations: 0 / 331.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1353, allocations: 0 / 331.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.894e-06/0.1354, allocations: 0 / 331.7 MB, free: 15.41 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009017/0.1363, allocations: 0.5886 MB / 332.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1363, allocations: 8.031 kB / 332.2 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.44e-05/0.1364, allocations: 36.56 kB / 332.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.1367, allocations: 251.8 kB / 332.5 MB, free: 14.44 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.1367, allocations: 28.94 kB / 332.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.1368, allocations: 24.38 kB / 332.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.1372, allocations: 257.2 kB / 332.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1372, allocations: 0 / 332.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1373, allocations: 8 kB / 332.8 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.1373, allocations: 8 kB / 332.8 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.1376, allocations: 190.1 kB / 333 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.1391, allocations: 1.021 MB / 334.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.1396, allocations: 324.8 kB / 334.4 MB, free: 12.47 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.1398, allocations: 152.8 kB / 334.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.1398, allocations: 0 / 334.5 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1399, allocations: 34.56 kB / 334.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.1399, allocations: 0 / 334.6 MB, free: 12.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001566/0.1415, allocations: 0.7768 MB / 335.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1415, allocations: 55.41 kB / 335.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.1417, allocations: 190.3 kB / 335.6 MB, free: 11.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.1417, allocations: 29.7 kB / 335.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.1419, allocations: 172.3 kB / 335.8 MB, free: 10.97 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.538e-05/0.1419, allocations: 90.64 kB / 335.9 MB, free: 10.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.867e-05/0.142, allocations: 53.98 kB / 335.9 MB, free: 10.82 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1422, allocations: 334.8 kB / 336.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.1423, allocations: 68.53 kB / 336.3 MB, free: 10.42 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.1425, allocations: 102.8 kB / 336.4 MB, free: 10.31 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1428, allocations: 181.6 kB / 336.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1428, allocations: 4 kB / 336.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005924/0.1434, allocations: 317.9 kB / 336.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1435, allocations: 4 kB / 336.9 MB, free: 9.801 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1435, allocations: 4 kB / 336.9 MB, free: 9.797 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002812/0.1438, allocations: 88.83 kB / 337 MB, free: 9.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.144, allocations: 47.92 kB / 337 MB, free: 9.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.1461, allocations: 2.092 MB / 339.1 MB, free: 7.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1462, allocations: 11.97 kB / 339.1 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.1463, allocations: 12 kB / 339.2 MB, free: 7.406 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.1464, allocations: 133.8 kB / 339.3 MB, free: 7.266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.1465, allocations: 19.72 kB / 339.3 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.502e-05/0.1465, allocations: 29.86 kB / 339.3 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1466, allocations: 4 kB / 339.3 MB, free: 7.219 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.1466, allocations: 4.062 kB / 339.3 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1466, allocations: 3.938 kB / 339.3 MB, free: 7.211 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.1477, allocations: 0.7527 MB / 340.1 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1477, allocations: 4 kB / 340.1 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.1479, allocations: 32.08 kB / 340.1 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002084/0.1481, allocations: 76.73 kB / 340.2 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.1482, allocations: 7.984 kB / 340.2 MB, free: 6.277 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.1501, allocations: 1.994 MB / 342.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1501, allocations: 0 / 342.2 MB, free: 4.141 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.1508, allocations: 467.8 kB / 342.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.1508, allocations: 88.92 kB / 342.8 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.1509, allocations: 4.062 kB / 342.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.151, allocations: 15.98 kB / 342.8 MB, free: 3.539 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.1511, allocations: 19.97 kB / 342.8 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1511, allocations: 8 kB / 342.8 MB, free: 3.512 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1513, allocations: 144.3 kB / 342.9 MB, free: 3.371 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1513, allocations: 3.938 kB / 342.9 MB, free: 3.367 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004311/0.1517, allocations: 84.22 kB / 343 MB, free: 3.285 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * 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.0001496/0.1519, allocations: 107.5 kB / 343.1 MB, free: 3.172 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.1526, allocations: 374.4 kB / 343.5 MB, free: 2.793 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1527, allocations: 4 kB / 343.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004348/0.1531, allocations: 258.9 kB / 343.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.1536, allocations: 43.33 kB / 343.8 MB, free: 2.484 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.155, allocations: 0.7678 MB / 344.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.1554, allocations: 0.7714 MB / 345.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.43e-05/0.1555, allocations: 18.3 kB / 345.4 MB, free: 0.875 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.1555, allocations: 19.44 kB / 345.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1555, allocations: 3.938 kB / 345.4 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of Templates: time 0.007638/0.1632, allocations: 3.201 MB / 348.6 MB, free: 13.65 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)