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.001327/0.001328, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.418/1.418, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001296/0.001296, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2651, allocations: 46.63 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003681/0.2688, allocations: 2.772 MB / 328.1 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2701, allocations: 0.6568 MB / 328.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.2703, allocations: 4.969 kB / 328.7 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.2705, allocations: 53.12 kB / 328.8 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.2707, allocations: 87.72 kB / 328.9 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.2709, allocations: 75.41 kB / 329 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.2713, allocations: 347.8 kB / 329.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000269/0.2716, allocations: 145.6 kB / 329.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.2717, allocations: 131 kB / 329.6 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.2719, allocations: 148.8 kB / 329.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.262e-05/0.272, allocations: 30.59 kB / 329.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.272, allocations: 31.72 kB / 329.8 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.2721, allocations: 75.61 kB / 329.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.2723, allocations: 163.1 kB / 330 MB, free: 14.28 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003675/0.2726, allocations: 350.9 kB / 330.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2727, allocations: 0 / 330.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2727, allocations: 0 / 330.3 MB, free: 14.02 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.2727, allocations: 0 / 330.3 MB, free: 14.02 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.001007/0.2737, allocations: 0.5895 MB / 330.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.2738, allocations: 9.938 kB / 330.9 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.2738, allocations: 33.06 kB / 331 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.2741, allocations: 264.8 kB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.2742, allocations: 19.72 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.2743, allocations: 27.25 kB / 331.3 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.2747, allocations: 254.1 kB / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2748, allocations: 0 / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2748, allocations: 10.25 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2748, allocations: 7.594 kB / 331.5 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.2752, allocations: 188.8 kB / 331.7 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.2767, allocations: 1.021 MB / 332.8 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.2771, allocations: 328.1 kB / 333.1 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.2773, allocations: 141.6 kB / 333.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2773, allocations: 2.094 kB / 333.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.2774, allocations: 36.69 kB / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/0.2774, allocations: 0 / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=25): time 0.001416/0.2788, allocations: 0.7737 MB / 334 MB, free: 10.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2788, allocations: 59.41 kB / 334.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.279, allocations: 190.2 kB / 334.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.2791, allocations: 29.7 kB / 334.3 MB, free: 10.6 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.2792, allocations: 172.3 kB / 334.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.2793, allocations: 90.64 kB / 334.6 MB, free: 10.34 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.2793, allocations: 53.98 kB / 334.6 MB, free: 10.28 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.2795, allocations: 338.8 kB / 334.9 MB, free: 9.938 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.2796, allocations: 68.53 kB / 335 MB, free: 9.871 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.2798, allocations: 106.7 kB / 335.1 MB, free: 9.762 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002619/0.28, allocations: 173.7 kB / 335.3 MB, free: 9.586 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.28, allocations: 0 / 335.3 MB, free: 9.586 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005141/0.2806, allocations: 322 kB / 335.6 MB, free: 9.262 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2806, allocations: 7.938 kB / 335.6 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2806, allocations: 4.156 kB / 335.6 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.2809, allocations: 80.81 kB / 335.7 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.2811, allocations: 55.91 kB / 335.7 MB, free: 9.113 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/0.283, allocations: 2.084 MB / 337.8 MB, free: 6.891 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2832, allocations: 20.03 kB / 337.8 MB, free: 6.871 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2832, allocations: 8.109 kB / 337.8 MB, free: 6.863 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 (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.0001346/0.2833, allocations: 141.8 kB / 338 MB, free: 6.715 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.2834, allocations: 19.72 kB / 338 MB, free: 6.695 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.344e-05/0.2834, allocations: 25.88 kB / 338 MB, free: 6.676 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2834, allocations: 4 kB / 338 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2834, allocations: 0 / 338 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.2835, allocations: 7.922 kB / 338 MB, free: 6.664 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.2845, allocations: 0.7527 MB / 338.8 MB, free: 5.852 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2845, allocations: 0 / 338.8 MB, free: 5.852 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.2847, allocations: 43.97 kB / 338.8 MB, free: 5.809 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.2849, allocations: 72.83 kB / 338.9 MB, free: 5.734 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.2849, allocations: 8 kB / 338.9 MB, free: 5.727 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.2866, allocations: 1.983 MB / 340.9 MB, free: 3.602 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2866, allocations: 0 / 340.9 MB, free: 3.602 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.2873, allocations: 459.8 kB / 341.3 MB, free: 3.133 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.003e-05/0.2873, allocations: 92.91 kB / 341.4 MB, free: 3.023 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.2874, allocations: 4.125 kB / 341.4 MB, free: 3.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.2875, allocations: 16 kB / 341.5 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.2876, allocations: 19.97 kB / 341.5 MB, free: 2.984 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.2876, allocations: 8 kB / 341.5 MB, free: 2.977 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.2878, allocations: 149.4 kB / 341.6 MB, free: 2.832 MB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2878, allocations: 0 / 341.6 MB, free: 2.832 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004417/0.2882, allocations: 76 kB / 341.7 MB, free: 2.758 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 (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.0001363/0.2884, allocations: 107.5 kB / 341.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006642/0.289, allocations: 382.3 kB / 342.2 MB, free: 2.258 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.289, allocations: 3.938 kB / 342.2 MB, free: 2.254 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004057/0.2895, allocations: 263 kB / 342.4 MB, free: 1.984 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.2899, allocations: 44.27 kB / 342.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2912, allocations: 0.7696 MB / 343.3 MB, free: 1.148 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.2915, allocations: 0.7636 MB / 344 MB, free: 368 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.04e-05/0.2916, allocations: 26.22 kB / 344 MB, free: 340 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.2916, allocations: 19.44 kB / 344.1 MB, free: 320 kB / 270.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2916, allocations: 0 / 344.1 MB, free: 320 kB / 270.1 MB Notification: Performance of Templates: time 0.007201/0.2989, allocations: 3.197 MB / 347.3 MB, free: 13.11 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)