Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009843/0.009843, allocations: 170 kB / 16.26 MB, free: 6.613 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.795/1.795, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0007004/0.0007004, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3075, allocations: 47.58 MB / 327 MB, free: 1.359 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.00606/0.3136, allocations: 5.257 MB / 332.3 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.3173, allocations: 1.186 MB / 333.5 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008729/0.3182, allocations: 21.72 kB / 333.5 MB, free: 12.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000424/0.3187, allocations: 129.7 kB / 333.6 MB, free: 12.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00088/0.3195, allocations: 236.6 kB / 333.8 MB, free: 11.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.3202, allocations: 177.8 kB / 334 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0015/0.3217, allocations: 1.021 MB / 335 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009621/0.3227, allocations: 437.1 kB / 335.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005729/0.3232, allocations: 340.8 kB / 335.8 MB, free: 10.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005978/0.3239, allocations: 413.9 kB / 336.2 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.324, allocations: 52 kB / 336.3 MB, free: 10.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.3241, allocations: 52 kB / 336.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.3242, allocations: 159.3 kB / 336.5 MB, free: 9.852 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.3249, allocations: 479.3 kB / 336.9 MB, free: 9.375 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009429/0.3258, allocations: 1.025 MB / 338 MB, free: 8.348 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3258, allocations: 3.938 kB / 338 MB, free: 8.344 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3258, allocations: 0 / 338 MB, free: 8.344 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.3259, allocations: 0 / 338 MB, free: 8.344 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002247/0.3281, allocations: 1.084 MB / 339 MB, free: 7.211 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.3282, allocations: 12.03 kB / 339.1 MB, free: 7.199 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002301/0.3284, allocations: 99.81 kB / 339.2 MB, free: 7.102 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006731/0.3291, allocations: 447.1 kB / 339.6 MB, free: 6.621 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.731e-05/0.3292, allocations: 82.25 kB / 339.7 MB, free: 6.539 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.3293, allocations: 92.38 kB / 339.8 MB, free: 6.449 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.3308, allocations: 0.8717 MB / 340.6 MB, free: 5.555 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.3308, allocations: 0 / 340.6 MB, free: 5.555 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.589e-05/0.3309, allocations: 36 kB / 340.7 MB, free: 5.52 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.331, allocations: 27.94 kB / 340.7 MB, free: 5.492 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.3321, allocations: 0.5817 MB / 341.3 MB, free: 4.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004673/0.3367, allocations: 2.987 MB / 344.3 MB, free: 1.805 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005059/0.3373, allocations: 302.3 kB / 344.6 MB, free: 1.5 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004185/0.3377, allocations: 272.8 kB / 344.8 MB, free: 1.23 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3378, allocations: 7.984 kB / 344.8 MB, free: 1.223 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3378, allocations: 38.56 kB / 344.9 MB, free: 1.176 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.716e-06/0.3378, allocations: 4 kB / 344.9 MB, free: 1.172 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001552/0.3394, allocations: 0.6549 MB / 345.5 MB, free: 500 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.3394, allocations: 59.34 kB / 345.6 MB, free: 428 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005888/0.34, allocations: 0.5102 MB / 346.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.647e-05/0.3401, allocations: 37.7 kB / 346.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3404, allocations: 493.4 kB / 346.6 MB, free: 15.36 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.3405, allocations: 157.8 kB / 346.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3406, allocations: 61.69 kB / 346.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3408, allocations: 374.7 kB / 347.2 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.3411, allocations: 169.9 kB / 347.4 MB, free: 14.6 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005455/0.3417, allocations: 457.6 kB / 347.8 MB, free: 14.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009635/0.3426, allocations: 0.6517 MB / 348.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3426, allocations: 4 kB / 348.5 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001326/0.344, allocations: 0.761 MB / 349.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.344, allocations: 16.06 kB / 349.2 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.344, allocations: 15.98 kB / 349.3 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003598/0.3444, allocations: 76.81 kB / 349.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/0.3451, allocations: 203.7 kB / 349.5 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.347, allocations: 1.803 MB / 351.3 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005048/0.3476, allocations: 86.97 kB / 351.4 MB, free: 10.15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.3476, allocations: 36 kB / 351.5 MB, free: 10.11 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 prepare postOptimizeDAE: time 0.0003297/0.348, allocations: 213.6 kB / 351.7 MB, free: 9.895 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.3481, allocations: 63.33 kB / 351.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.3482, allocations: 65.52 kB / 351.8 MB, free: 9.766 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3482, allocations: 4.281 kB / 351.8 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3482, allocations: 0 / 351.8 MB, free: 9.762 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3482, allocations: 3.984 kB / 351.8 MB, free: 9.758 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007463/0.349, allocations: 0.6491 MB / 352.4 MB, free: 9.059 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.349, allocations: 3.984 kB / 352.4 MB, free: 9.055 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004052/0.3494, allocations: 111.8 kB / 352.6 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002096/0.3496, allocations: 68.8 kB / 352.6 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.3496, allocations: 4 kB / 352.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.3515, allocations: 1.792 MB / 354.4 MB, free: 6.941 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3515, allocations: 4.062 kB / 354.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009881/0.3525, allocations: 0.6658 MB / 355.1 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.3527, allocations: 140.3 kB / 355.2 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.3527, allocations: 8 kB / 355.2 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.3531, allocations: 55.91 kB / 355.3 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.3532, allocations: 27.95 kB / 355.3 MB, free: 6.008 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.3533, allocations: 16 kB / 355.3 MB, free: 5.992 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004394/0.3537, allocations: 342.9 kB / 355.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3537, allocations: 0 / 355.7 MB, free: 5.66 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009088/0.3546, allocations: 247.2 kB / 355.9 MB, free: 5.418 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.v) * 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 (33): * Single equations (assignments): 32 * 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.0001686/0.3548, allocations: 111.5 kB / 356 MB, free: 5.301 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3558, allocations: 0.5971 MB / 356.6 MB, free: 4.688 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3559, allocations: 0 / 356.6 MB, free: 4.688 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.3563, allocations: 322.3 kB / 356.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.357, allocations: 110.5 kB / 357 MB, free: 4.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.36, allocations: 1.848 MB / 358.9 MB, free: 2.375 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.3606, allocations: 0.9301 MB / 359.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003507/0.361, allocations: 65.22 kB / 359.9 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.236e-05/0.3611, allocations: 39.44 kB / 359.9 MB, free: 1.316 MB / 286.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3611, allocations: 4 kB / 359.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of Templates: time 0.01345/0.3745, allocations: 6.759 MB / 366.7 MB, free: 10.55 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)