Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001479/0.001479, allocations: 91.84 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.001717/0.001717, 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.765/1.765, allocations: 205.4 MB / 222.1 MB, free: 5.871 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.0004824/0.0004825, allocations: 12 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3134, allocations: 47.57 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.002704/0.3162, allocations: 2.353 MB / 328.8 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.3174, allocations: 0.6232 MB / 329.4 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.3175, allocations: 10.12 kB / 329.5 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.3177, allocations: 34.69 kB / 329.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.3179, allocations: 73.97 kB / 329.6 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.318, allocations: 59 kB / 329.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.3184, allocations: 321.9 kB / 329.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.3187, allocations: 108.1 kB / 330 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.3188, allocations: 111.3 kB / 330.1 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.319, allocations: 124.3 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.3191, allocations: 20.25 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.291e-05/0.3191, allocations: 15.66 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.3192, allocations: 48.3 kB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.584e-05/0.3192, allocations: 82.73 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3195, allocations: 258.2 kB / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.3195, allocations: 0 / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3195, allocations: 0 / 330.7 MB, free: 14.17 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3195, allocations: 0 / 330.7 MB, free: 14.17 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.0009152/0.3205, allocations: 0.5424 MB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3205, allocations: 8.625 kB / 331.2 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.3206, allocations: 33.38 kB / 331.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003202/0.3209, allocations: 266.9 kB / 331.5 MB, free: 13.39 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.321, allocations: 23.45 kB / 331.5 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.321, allocations: 30.81 kB / 331.6 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.3215, allocations: 245.6 kB / 331.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3216, allocations: 3.938 kB / 331.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.3216, allocations: 14.36 kB / 331.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.3216, allocations: 6.781 kB / 331.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003699/0.322, allocations: 182.5 kB / 332 MB, free: 13.12 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.3236, allocations: 1.023 MB / 333 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004389/0.3241, allocations: 333.5 kB / 333.4 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.3244, allocations: 147.8 kB / 333.5 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3244, allocations: 3.094 kB / 333.5 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3244, allocations: 35.88 kB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.3245, allocations: 1 kB / 333.6 MB, free: 11.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=25): time 0.001563/0.326, allocations: 0.7823 MB / 334.3 MB, free: 11.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.3261, allocations: 54.84 kB / 334.4 MB, free: 11.27 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.3263, allocations: 191.6 kB / 334.6 MB, free: 11.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.3263, allocations: 29.7 kB / 334.6 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.3265, allocations: 180.1 kB / 334.8 MB, free: 10.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.577e-05/0.3265, allocations: 86.73 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.3266, allocations: 4 kB / 334.9 MB, free: 10.79 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3267, allocations: 338.8 kB / 335.2 MB, free: 10.45 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3268, allocations: 72.53 kB / 335.3 MB, free: 10.38 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.327, allocations: 98.8 kB / 335.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.3272, allocations: 87.98 kB / 335.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3272, allocations: 0 / 335.5 MB, free: 10.19 MB / 270.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005266/0.3277, allocations: 326 kB / 335.8 MB, free: 9.863 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3277, allocations: 11.95 kB / 335.8 MB, free: 9.852 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3278, allocations: 0 / 335.8 MB, free: 9.852 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/0.328, allocations: 84.84 kB / 335.9 MB, free: 9.766 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.3282, allocations: 47.91 kB / 335.9 MB, free: 9.719 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.3303, allocations: 1.897 MB / 337.8 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.3304, allocations: 8.031 kB / 337.8 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.3304, allocations: 8 kB / 337.8 MB, free: 7.672 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.00017/0.3306, allocations: 141.9 kB / 338 MB, free: 7.523 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.3307, allocations: 19.91 kB / 338 MB, free: 7.504 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.3307, allocations: 33.8 kB / 338 MB, free: 7.473 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3307, allocations: 4 kB / 338 MB, free: 7.469 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.3307, allocations: 0 / 338 MB, free: 7.469 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3308, allocations: 0 / 338 MB, free: 7.469 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3318, allocations: 0.7606 MB / 338.8 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3318, allocations: 0 / 338.8 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.332, allocations: 35.98 kB / 338.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001798/0.3322, allocations: 72.73 kB / 338.9 MB, free: 6.539 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3322, allocations: 8 kB / 338.9 MB, free: 6.531 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.334, allocations: 1.788 MB / 340.7 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.334, allocations: 0 / 340.7 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006367/0.3347, allocations: 471.8 kB / 341.1 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/0.3347, allocations: 97 kB / 341.2 MB, free: 4.016 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.3348, allocations: 11.89 kB / 341.2 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3349, allocations: 19.98 kB / 341.3 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.335, allocations: 19.97 kB / 341.3 MB, free: 3.965 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.335, allocations: 8.281 kB / 341.3 MB, free: 3.957 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.3351, allocations: 145.5 kB / 341.4 MB, free: 3.816 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3351, allocations: 0 / 341.4 MB, free: 3.816 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.3356, allocations: 79.94 kB / 341.5 MB, free: 3.738 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.0001346/0.3357, allocations: 111.2 kB / 341.6 MB, free: 3.621 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006893/0.3364, allocations: 362.4 kB / 342 MB, free: 3.254 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3364, allocations: 0 / 342 MB, free: 3.254 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.3368, allocations: 259 kB / 342.2 MB, free: 2.988 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004127/0.3372, allocations: 44.11 kB / 342.3 MB, free: 2.945 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.3387, allocations: 0.9442 MB / 343.2 MB, free: 1.977 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.3392, allocations: 0.7675 MB / 344 MB, free: 1.184 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.006e-05/0.3393, allocations: 22.3 kB / 344 MB, free: 1.16 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.3393, allocations: 15.44 kB / 344 MB, free: 1.145 MB / 270.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3393, allocations: 3.938 kB / 344 MB, free: 1.141 MB / 270.1 MB Notification: Performance of Templates: time 0.006281/0.3456, allocations: 2.895 MB / 346.9 MB, free: 14.24 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1)