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.001011/0.001011, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001338/0.001338, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005322/0.0005324, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2612, allocations: 47.59 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002573/0.2639, allocations: 2.346 MB / 328.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.2649, allocations: 0.6232 MB / 329.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.2651, allocations: 4.312 kB / 329.4 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.2652, allocations: 37.03 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.2654, allocations: 81.75 kB / 329.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.2656, allocations: 55.16 kB / 329.6 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.266, allocations: 326.1 kB / 329.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002236/0.2662, allocations: 108.2 kB / 330 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2663, allocations: 101.7 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2665, allocations: 128.2 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.2666, allocations: 16.34 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.456e-05/0.2666, allocations: 16.53 kB / 330.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.199e-05/0.2667, allocations: 55.72 kB / 330.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.2e-05/0.2668, allocations: 74.36 kB / 330.4 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.267, allocations: 262.9 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.267, allocations: 0 / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2671, allocations: 4 kB / 330.7 MB, free: 14.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2671, allocations: 0 / 330.7 MB, free: 14.2 MB / 270.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.0008156/0.2679, allocations: 0.5428 MB / 331.2 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2679, allocations: 13.38 kB / 331.2 MB, free: 13.7 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.268, allocations: 32.12 kB / 331.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.2683, allocations: 255.4 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.2684, allocations: 27.98 kB / 331.5 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.948e-05/0.2684, allocations: 30.12 kB / 331.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.2689, allocations: 249.7 kB / 331.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.269, allocations: 0 / 331.8 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.269, allocations: 10.25 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.269, allocations: 6.875 kB / 331.8 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.2694, allocations: 190.5 kB / 332 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.2709, allocations: 1.028 MB / 333.1 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/0.2713, allocations: 324 kB / 333.4 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002906/0.2716, allocations: 152.6 kB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.2716, allocations: 2.719 kB / 333.5 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.2716, allocations: 35.91 kB / 333.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 2.815e-06/0.2717, allocations: 0 / 333.6 MB, free: 11.9 MB / 270.1 MB Notification: Performance of matching and sorting (n=25): time 0.001557/0.2732, allocations: 0.7764 MB / 334.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2733, allocations: 59.39 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.2735, allocations: 194.2 kB / 334.6 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.2735, allocations: 33.64 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/0.2736, allocations: 176.2 kB / 334.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.2737, allocations: 86.75 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.2737, allocations: 4 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.2738, allocations: 334.8 kB / 335.2 MB, free: 10.42 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.2739, allocations: 72.53 kB / 335.3 MB, free: 10.35 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.2741, allocations: 94.81 kB / 335.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.2743, allocations: 91.97 kB / 335.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2743, allocations: 0 / 335.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005651/0.2748, allocations: 318 kB / 335.8 MB, free: 9.844 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2749, allocations: 11.95 kB / 335.8 MB, free: 9.832 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.2749, allocations: 8.016 kB / 335.8 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.2751, allocations: 84.81 kB / 335.9 MB, free: 9.738 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.2753, allocations: 43.92 kB / 335.9 MB, free: 9.695 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.2773, allocations: 1.901 MB / 337.8 MB, free: 7.66 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.2775, allocations: 8.031 kB / 337.8 MB, free: 7.652 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.2775, allocations: 4 kB / 337.8 MB, free: 7.648 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001509/0.2776, allocations: 146 kB / 338 MB, free: 7.496 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.2777, allocations: 19.81 kB / 338 MB, free: 7.477 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.2778, allocations: 25.88 kB / 338 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2778, allocations: 0 / 338 MB, free: 7.453 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.2778, allocations: 8.062 kB / 338 MB, free: 7.445 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2778, allocations: 4.078 kB / 338 MB, free: 7.441 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.2789, allocations: 0.7603 MB / 338.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.2789, allocations: 0 / 338.8 MB, free: 6.621 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.2791, allocations: 35.98 kB / 338.8 MB, free: 6.586 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.2792, allocations: 68.78 kB / 338.9 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.2793, allocations: 8 kB / 338.9 MB, free: 6.508 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/0.281, allocations: 1.792 MB / 340.7 MB, free: 4.582 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.281, allocations: 0 / 340.7 MB, free: 4.582 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006478/0.2817, allocations: 475.9 kB / 341.1 MB, free: 4.098 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.2818, allocations: 96.77 kB / 341.2 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.2818, allocations: 8.016 kB / 341.2 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.282, allocations: 19.98 kB / 341.3 MB, free: 3.957 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.282, allocations: 19.97 kB / 341.3 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.282, allocations: 4 kB / 341.3 MB, free: 3.934 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2822, allocations: 145.5 kB / 341.4 MB, free: 3.793 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2822, allocations: 4 kB / 341.4 MB, free: 3.789 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004264/0.2826, allocations: 76 kB / 341.5 MB, free: 3.715 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.2828, allocations: 107.5 kB / 341.6 MB, free: 3.602 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007239/0.2835, allocations: 366.4 kB / 342 MB, free: 3.23 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2835, allocations: 0 / 342 MB, free: 3.23 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004413/0.284, allocations: 262.9 kB / 342.2 MB, free: 2.961 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.2844, allocations: 36.19 kB / 342.3 MB, free: 2.926 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.2857, allocations: 0.952 MB / 343.2 MB, free: 1.949 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.286, allocations: 0.7636 MB / 344 MB, free: 1.16 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.046e-05/0.2861, allocations: 22.28 kB / 344 MB, free: 1.137 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.2862, allocations: 19.38 kB / 344 MB, free: 1.117 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2862, allocations: 0 / 344 MB, free: 1.117 MB / 270.1 MB Notification: Performance of Templates: time 0.00659/0.2928, allocations: 2.897 MB / 346.9 MB, free: 14.22 MB / 286.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)