Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.009311/0.009311, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.00151/0.00151, allocations: 195.7 kB / 16.67 MB, free: 6.379 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.702/1.702, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001441/0.001441, allocations: 51.67 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1232, allocations: 46.62 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004665/0.128, allocations: 2.769 MB / 375.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1298, allocations: 0.6434 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004785/0.1303, allocations: 4 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003485/0.1308, allocations: 51.5 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.1312, allocations: 95.17 kB / 376.7 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.1316, allocations: 79.84 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005432/0.1321, allocations: 354.8 kB / 377.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003057/0.1324, allocations: 147.3 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1326, allocations: 127.5 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.1329, allocations: 151.4 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.133, allocations: 28 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.237e-05/0.133, allocations: 32 kB / 377.6 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.115e-05/0.1331, allocations: 75.69 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.1333, allocations: 163.2 kB / 377.9 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005398/0.1339, allocations: 354.8 kB / 378.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.1339, allocations: 7.922 kB / 378.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1339, allocations: 0 / 378.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1339, allocations: 0 / 378.2 MB, free: 12.22 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001043/0.135, allocations: 0.5848 MB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.135, allocations: 8.031 kB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.1351, allocations: 32.56 kB / 378.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.1356, allocations: 263.7 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.1356, allocations: 28.94 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.1357, allocations: 24.38 kB / 379.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004606/0.1362, allocations: 257.2 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1362, allocations: 0 / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.1362, allocations: 8 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1362, allocations: 8 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.1366, allocations: 190.1 kB / 379.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.1383, allocations: 1.006 MB / 380.6 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004274/0.1388, allocations: 322 kB / 380.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.139, allocations: 148.8 kB / 381.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.139, allocations: 0 / 381.1 MB, free: 9.152 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.1391, allocations: 38.55 kB / 381.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 4.679e-06/0.1391, allocations: 3.984 kB / 381.1 MB, free: 9.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001514/0.1406, allocations: 0.7713 MB / 381.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.1407, allocations: 55.41 kB / 381.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1409, allocations: 198.2 kB / 382.1 MB, free: 8.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.1409, allocations: 29.7 kB / 382.2 MB, free: 7.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1411, allocations: 176.2 kB / 382.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.1412, allocations: 90.64 kB / 382.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.1413, allocations: 53.98 kB / 382.5 MB, free: 7.645 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.1416, allocations: 334.8 kB / 382.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1418, allocations: 68.53 kB / 382.9 MB, free: 7.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.142, allocations: 106.7 kB / 383 MB, free: 7.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.1423, allocations: 185.5 kB / 383.2 MB, free: 6.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1423, allocations: 4 kB / 383.2 MB, free: 6.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005135/0.1428, allocations: 310.1 kB / 383.5 MB, free: 6.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1428, allocations: 8 kB / 383.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1429, allocations: 0 / 383.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.1432, allocations: 88.83 kB / 383.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.1434, allocations: 51.86 kB / 383.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.1456, allocations: 2.08 MB / 385.7 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1457, allocations: 11.97 kB / 385.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1458, allocations: 12 kB / 385.7 MB, free: 4.234 MB / 318.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.0001751/0.1459, allocations: 133.9 kB / 385.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.146, allocations: 19.81 kB / 385.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.146, allocations: 29.86 kB / 385.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.1461, allocations: 4 kB / 385.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1461, allocations: 0 / 385.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1461, allocations: 3.938 kB / 385.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.1473, allocations: 0.7565 MB / 386.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1473, allocations: 0 / 386.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000181/0.1475, allocations: 44.02 kB / 386.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002052/0.1477, allocations: 72.72 kB / 386.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.1477, allocations: 11.98 kB / 386.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.15, allocations: 1.987 MB / 388.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.15, allocations: 0 / 388.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007443/0.1507, allocations: 464.2 kB / 389.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.853e-05/0.1508, allocations: 96.86 kB / 389.3 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.1509, allocations: 4.062 kB / 389.3 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.151, allocations: 15.98 kB / 389.3 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.1511, allocations: 19.97 kB / 389.4 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1511, allocations: 4 kB / 389.4 MB, free: 344 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1513, allocations: 152.3 kB / 389.5 MB, free: 192 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1513, allocations: 3.938 kB / 389.5 MB, free: 188 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.1517, allocations: 76 kB / 389.6 MB, free: 112 kB / 318.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.0001824/0.1519, allocations: 105.4 kB / 389.7 MB, free: 0 / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007518/0.1526, allocations: 370.4 kB / 390.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1527, allocations: 0 / 390.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004119/0.1531, allocations: 262.5 kB / 390.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.1535, allocations: 44.03 kB / 390.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1549, allocations: 0.7545 MB / 391.1 MB, free: 14.53 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/0.1554, allocations: 0.7675 MB / 391.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.455e-05/0.1555, allocations: 18.3 kB / 391.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.1555, allocations: 23.44 kB / 391.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1555, allocations: 0 / 391.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of Templates: time 0.008272/0.1638, allocations: 3.332 MB / 395.2 MB, free: 10.37 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)