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.01043/0.01043, allocations: 100 kB / 15.73 MB, free: 6.062 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.001905/0.001906, allocations: 193.8 kB / 16.68 MB, free: 5.973 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.731/1.731, allocations: 205.1 MB / 222.6 MB, free: 4.371 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.001359/0.001359, allocations: 50.3 kB / 326.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1204, allocations: 46.62 MB / 373.2 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.007563/0.128, allocations: 5.7 MB / 378.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1313, allocations: 1.192 MB / 380.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.1323, allocations: 20 kB / 380.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.133, allocations: 174.3 kB / 380.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008987/0.1339, allocations: 273.4 kB / 380.6 MB, free: 9.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005394/0.1345, allocations: 219.7 kB / 380.8 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1357, allocations: 1.067 MB / 381.9 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008921/0.1366, allocations: 0.5181 MB / 382.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008214/0.1375, allocations: 422.6 kB / 382.8 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000599/0.1381, allocations: 466 kB / 383.2 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1382, allocations: 100 kB / 383.3 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1384, allocations: 96 kB / 383.4 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.1386, allocations: 227.2 kB / 383.7 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004629/0.139, allocations: 0.4977 MB / 384.1 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1402, allocations: 1.124 MB / 385.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.1403, allocations: 0 / 385.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1403, allocations: 0 / 385.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.1403, allocations: 0 / 385.3 MB, free: 5.211 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.002015/0.1423, allocations: 1.258 MB / 386.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.1424, allocations: 8.031 kB / 386.5 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.1426, allocations: 112.3 kB / 386.6 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007368/0.1433, allocations: 459.4 kB / 387.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.1434, allocations: 74.36 kB / 387.2 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.1436, allocations: 100.3 kB / 387.3 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.145, allocations: 0.8716 MB / 388.1 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.145, allocations: 4 kB / 388.1 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.1451, allocations: 40 kB / 388.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.1451, allocations: 20 kB / 388.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.1462, allocations: 0.5778 MB / 388.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004205/0.1504, allocations: 2.938 MB / 391.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.1509, allocations: 302.3 kB / 392 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.1513, allocations: 272.8 kB / 392.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1513, allocations: 4 kB / 392.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.278e-05/0.1514, allocations: 38.56 kB / 392.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=42): time 1.493e-06/0.1514, allocations: 0 / 392.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.001527/0.1529, allocations: 0.659 MB / 393 MB, free: 13.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.153, allocations: 55.41 kB / 393 MB, free: 13.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005778/0.1536, allocations: 0.5142 MB / 393.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.1536, allocations: 37.7 kB / 393.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.154, allocations: 499.2 kB / 394.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.1542, allocations: 170.6 kB / 394.2 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.1543, allocations: 138.6 kB / 394.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.1545, allocations: 366.8 kB / 394.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/0.1548, allocations: 165.9 kB / 394.9 MB, free: 11.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.1553, allocations: 457.4 kB / 395.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.1561, allocations: 0.6441 MB / 396 MB, free: 9.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.1562, allocations: 8 kB / 396 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001167/0.1573, allocations: 0.7614 MB / 396.8 MB, free: 9.121 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.1574, allocations: 8 kB / 396.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.1574, allocations: 11.98 kB / 396.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003304/0.1577, allocations: 88.75 kB / 396.9 MB, free: 9.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.1584, allocations: 187.8 kB / 397 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.1605, allocations: 2.006 MB / 399.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.1609, allocations: 91.3 kB / 399.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.843e-05/0.161, allocations: 36 kB / 399.2 MB, free: 6.555 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.0002676/0.1613, allocations: 213.6 kB / 399.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.1614, allocations: 67.61 kB / 399.4 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1615, allocations: 61.52 kB / 399.5 MB, free: 6.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1615, allocations: 11.92 kB / 399.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1616, allocations: 0 / 399.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1616, allocations: 3.984 kB / 399.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007343/0.1623, allocations: 0.6415 MB / 400.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.1623, allocations: 3.984 kB / 400.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003832/0.1627, allocations: 99.94 kB / 400.3 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001984/0.1629, allocations: 84.89 kB / 400.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.163, allocations: 8 kB / 400.4 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002009/0.165, allocations: 1.983 MB / 402.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.165, allocations: 0 / 402.3 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.166, allocations: 0.6739 MB / 403 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.1661, allocations: 136.7 kB / 403.1 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/0.1662, allocations: 12.05 kB / 403.2 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003732/0.1666, allocations: 43.97 kB / 403.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.1667, allocations: 27.97 kB / 403.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.1667, allocations: 15.98 kB / 403.2 MB, free: 2.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004104/0.1671, allocations: 342.9 kB / 403.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1671, allocations: 0 / 403.6 MB, free: 1.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009184/0.1681, allocations: 251.4 kB / 403.8 MB, free: 1.66 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.0002484/0.1683, allocations: 115.2 kB / 403.9 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.1696, allocations: 0.593 MB / 404.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1696, allocations: 0 / 404.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.1701, allocations: 322.6 kB / 404.8 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.1707, allocations: 130.5 kB / 405 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.1732, allocations: 1.409 MB / 406.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.1739, allocations: 0.9337 MB / 407.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.1742, allocations: 69.22 kB / 407.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.1743, allocations: 39.44 kB / 407.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1743, allocations: 0 / 407.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Templates: time 0.01296/0.1873, allocations: 7.284 MB / 414.7 MB, free: 6.672 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)