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.00121/0.00121, 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.001383/0.001383, allocations: 193.7 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.369/1.369, allocations: 205.1 MB / 222.4 MB, free: 4.543 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.001215/0.001215, allocations: 44.41 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2604, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.006441/0.2669, allocations: 5.702 MB / 331 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.2699, allocations: 1.207 MB / 332.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004392/0.2704, allocations: 17.69 kB / 332.2 MB, free: 12.25 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.2708, allocations: 173.2 kB / 332.4 MB, free: 12.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005679/0.2714, allocations: 276 kB / 332.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.2718, allocations: 220.8 kB / 332.9 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000995/0.2728, allocations: 1.053 MB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007318/0.2736, allocations: 0.517 MB / 334.5 MB, free: 10.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003718/0.274, allocations: 410.6 kB / 334.9 MB, free: 10.3 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.2745, allocations: 477.9 kB / 335.3 MB, free: 9.836 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.2747, allocations: 96 kB / 335.4 MB, free: 9.742 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.2748, allocations: 100 kB / 335.5 MB, free: 9.645 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.275, allocations: 219.3 kB / 335.7 MB, free: 9.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.2754, allocations: 0.5054 MB / 336.2 MB, free: 8.922 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008932/0.2763, allocations: 1.087 MB / 337.3 MB, free: 7.832 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2763, allocations: 3.938 kB / 337.3 MB, free: 7.828 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2763, allocations: 4 kB / 337.3 MB, free: 7.824 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2763, allocations: 0 / 337.3 MB, free: 7.824 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.001937/0.2783, allocations: 1.24 MB / 338.6 MB, free: 6.535 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2783, allocations: 12.02 kB / 338.6 MB, free: 6.523 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.2785, allocations: 103.7 kB / 338.7 MB, free: 6.422 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.2791, allocations: 447.2 kB / 339.1 MB, free: 5.941 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.2791, allocations: 66.38 kB / 339.2 MB, free: 5.875 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.2793, allocations: 96.38 kB / 339.3 MB, free: 5.781 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.2805, allocations: 0.8717 MB / 340.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.2805, allocations: 7.922 kB / 340.2 MB, free: 4.879 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.2806, allocations: 40 kB / 340.2 MB, free: 4.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.2807, allocations: 24 kB / 340.2 MB, free: 4.816 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000928/0.2816, allocations: 0.5661 MB / 340.8 MB, free: 4.246 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.2856, allocations: 2.972 MB / 343.8 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.2861, allocations: 302.3 kB / 344.1 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.2865, allocations: 276.7 kB / 344.3 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.2865, allocations: 8 kB / 344.3 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.2866, allocations: 42.56 kB / 344.4 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 2.214e-06/0.2866, allocations: 0 / 344.4 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001475/0.288, allocations: 0.651 MB / 345 MB, free: 15.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.2881, allocations: 55.41 kB / 345.1 MB, free: 15.77 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.2887, allocations: 0.5102 MB / 345.6 MB, free: 15.25 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.2887, allocations: 37.7 kB / 345.6 MB, free: 15.21 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.289, allocations: 485.5 kB / 346.1 MB, free: 14.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.2891, allocations: 157.8 kB / 346.3 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.2893, allocations: 138.4 kB / 346.4 MB, free: 14.43 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2895, allocations: 370.8 kB / 346.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/0.2898, allocations: 169.9 kB / 346.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.2902, allocations: 449.6 kB / 347.4 MB, free: 13.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007967/0.291, allocations: 0.6517 MB / 348 MB, free: 12.54 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.291, allocations: 4 kB / 348 MB, free: 12.54 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001201/0.2922, allocations: 0.757 MB / 348.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2923, allocations: 8 kB / 348.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.2923, allocations: 8 kB / 348.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.2926, allocations: 85.09 kB / 348.9 MB, free: 11.67 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.2933, allocations: 195.7 kB / 349.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.2953, allocations: 2.006 MB / 351.1 MB, free: 9.34 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.2958, allocations: 87.06 kB / 351.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/0.2958, allocations: 36 kB / 351.2 MB, free: 9.219 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.000282/0.2961, allocations: 209.5 kB / 351.4 MB, free: 9.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.199e-05/0.2962, allocations: 59.34 kB / 351.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.2963, allocations: 65.56 kB / 351.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2963, allocations: 8 kB / 351.5 MB, free: 8.867 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.2963, allocations: 4 kB / 351.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.2964, allocations: 7.984 kB / 351.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007205/0.2971, allocations: 0.6452 MB / 352.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.2971, allocations: 0 / 352.2 MB, free: 8.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004219/0.2975, allocations: 103.9 kB / 352.3 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/0.2977, allocations: 76.73 kB / 352.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.2978, allocations: 11.98 kB / 352.4 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.2995, allocations: 1.975 MB / 354.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2995, allocations: 0 / 354.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/0.3004, allocations: 0.6659 MB / 355 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3005, allocations: 136.4 kB / 355.1 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.3006, allocations: 4 kB / 355.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.301, allocations: 47.97 kB / 355.2 MB, free: 4.969 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.3011, allocations: 35.89 kB / 355.2 MB, free: 4.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.3011, allocations: 12 kB / 355.2 MB, free: 4.922 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003724/0.3015, allocations: 346.9 kB / 355.6 MB, free: 4.586 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3015, allocations: 4 kB / 355.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00081/0.3023, allocations: 239.3 kB / 355.8 MB, free: 4.348 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.0001843/0.3025, allocations: 111.2 kB / 355.9 MB, free: 4.23 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.3037, allocations: 0.6033 MB / 356.5 MB, free: 3.613 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.3037, allocations: 5.812 kB / 356.5 MB, free: 3.609 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.3041, allocations: 322.4 kB / 356.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.3048, allocations: 126.3 kB / 357 MB, free: 3.156 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.3072, allocations: 1.419 MB / 358.4 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/0.3079, allocations: 0.9298 MB / 359.3 MB, free: 0.75 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.3083, allocations: 69.22 kB / 359.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.92e-05/0.3084, allocations: 39.44 kB / 359.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3084, allocations: 0 / 359.4 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of Templates: time 0.01544/0.3238, allocations: 7.178 MB / 366.6 MB, free: 9.465 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)