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.001898/0.001899, allocations: 112.6 kB / 17.06 MB, free: 5.973 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.001985/0.001985, allocations: 200 kB / 18 MB, free: 5.055 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.807/1.807, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001185/0.001185, allocations: 47.92 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.109, allocations: 46.61 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004071/0.1131, allocations: 2.753 MB / 377.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1145, allocations: 0.6628 MB / 377.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1147, allocations: 8 kB / 377.9 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.115, allocations: 47.5 kB / 378 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1152, allocations: 91.19 kB / 378.1 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002487/0.1154, allocations: 75.89 kB / 378.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004089/0.1159, allocations: 350.7 kB / 378.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.1162, allocations: 147.3 kB / 378.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.1163, allocations: 131.6 kB / 378.7 MB, free: 288 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.1166, allocations: 151.3 kB / 378.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.1167, allocations: 32 kB / 378.9 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.663e-05/0.1167, allocations: 36 kB / 379 MB, free: 68 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2649/0.3816, allocations: 68.62 kB / 379 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006227/0.3824, allocations: 154.5 kB / 379.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009299/0.3833, allocations: 359.5 kB / 379.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.176e-05/0.3833, allocations: 0 / 379.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.04e-06/0.3833, allocations: 0 / 379.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3834, allocations: 0 / 379.5 MB, free: 10.13 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.001364/0.3847, allocations: 0.5917 MB / 380.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.661e-05/0.3848, allocations: 9.75 kB / 380.1 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3849, allocations: 36.66 kB / 380.2 MB, free: 9.676 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.3856, allocations: 252.4 kB / 380.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.3856, allocations: 27.56 kB / 380.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.3857, allocations: 27.38 kB / 380.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.3863, allocations: 248 kB / 380.7 MB, free: 9.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3864, allocations: 3.938 kB / 380.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.3864, allocations: 12.53 kB / 380.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.3864, allocations: 7.281 kB / 380.7 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.3869, allocations: 188.7 kB / 380.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002223/0.3891, allocations: 1.005 MB / 381.9 MB, free: 8.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.3898, allocations: 326.4 kB / 382.2 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/0.3903, allocations: 145.6 kB / 382.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3903, allocations: 6.469 kB / 382.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.3904, allocations: 35.97 kB / 382.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/0.3904, allocations: 1.156 kB / 382.4 MB, free: 8.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.002292/0.3927, allocations: 0.7724 MB / 383.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.3927, allocations: 53.89 kB / 383.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.393, allocations: 200.5 kB / 383.4 MB, free: 8.207 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.3931, allocations: 30.7 kB / 383.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3933, allocations: 176.5 kB / 383.6 MB, free: 8.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.3934, allocations: 94.42 kB / 383.7 MB, free: 7.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.3935, allocations: 51 kB / 383.8 MB, free: 7.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3937, allocations: 332.8 kB / 384.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.3939, allocations: 73.78 kB / 384.2 MB, free: 7.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.3942, allocations: 95.75 kB / 384.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.3946, allocations: 187 kB / 384.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3946, allocations: 1.281 kB / 384.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007734/0.3954, allocations: 313.3 kB / 384.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.3955, allocations: 5.688 kB / 384.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3955, allocations: 2.062 kB / 384.8 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/0.3959, allocations: 91.48 kB / 384.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.3962, allocations: 49.31 kB / 384.9 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/0.3988, allocations: 2.088 MB / 387 MB, free: 5.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.3989, allocations: 15.09 kB / 387 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.3989, allocations: 13.97 kB / 387 MB, free: 5.668 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.0001708/0.3991, allocations: 137.5 kB / 387.2 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.879e-05/0.3992, allocations: 18.98 kB / 387.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.3992, allocations: 28.73 kB / 387.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3992, allocations: 1.281 kB / 387.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.3993, allocations: 3.156 kB / 387.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.3993, allocations: 1.219 kB / 387.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.4005, allocations: 0.7459 MB / 388 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4005, allocations: 0.6562 kB / 388 MB, free: 5.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.4007, allocations: 42.72 kB / 388 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/0.401, allocations: 78.86 kB / 388.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.401, allocations: 4.359 kB / 388.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.4033, allocations: 1.977 MB / 390.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4033, allocations: 0 / 390.1 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009167/0.4042, allocations: 486.9 kB / 390.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.4043, allocations: 95.11 kB / 390.6 MB, free: 2.852 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.4043, allocations: 9.359 kB / 390.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/0.4045, allocations: 13.34 kB / 390.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4046, allocations: 24.31 kB / 390.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.4047, allocations: 6.547 kB / 390.7 MB, free: 2.836 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.4048, allocations: 146 kB / 390.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.4048, allocations: 0 / 390.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005526/0.4054, allocations: 76.69 kB / 390.9 MB, free: 2.73 MB / 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.0001664/0.4055, allocations: 107.7 kB / 391 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008438/0.4064, allocations: 368.3 kB / 391.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.4064, allocations: 0 / 391.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005073/0.4069, allocations: 264.5 kB / 391.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.4074, allocations: 41.56 kB / 391.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.4089, allocations: 0.7569 MB / 392.4 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.4093, allocations: 0.7653 MB / 393.2 MB, free: 1.055 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001176/0.4094, allocations: 22.62 kB / 393.2 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.4094, allocations: 17.31 kB / 393.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4094, allocations: 0 / 393.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of Templates: time 0.009978/0.4194, allocations: 3.261 MB / 396.5 MB, free: 0.7852 MB / 318.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)