Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001146/0.001146, allocations: 90.48 kB / 16.31 MB, free: 6.453 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.00164/0.001641, allocations: 180.7 kB / 17.21 MB, free: 6.328 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.492/1.492, allocations: 205.4 MB / 223.4 MB, free: 5.582 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.000669/0.0006691, allocations: 12 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2636, allocations: 47.6 MB / 327.7 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004741/0.2684, allocations: 4.938 MB / 332.7 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.2709, allocations: 1.165 MB / 333.8 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004375/0.2714, allocations: 20.94 kB / 333.9 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.2717, allocations: 126.7 kB / 334 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005047/0.2722, allocations: 240.2 kB / 334.2 MB, free: 12.22 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.2726, allocations: 165.3 kB / 334.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.2736, allocations: 0.9836 MB / 335.4 MB, free: 11.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006586/0.2743, allocations: 398.6 kB / 335.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004603/0.2748, allocations: 328.3 kB / 336.1 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.2752, allocations: 391.5 kB / 336.4 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.805e-05/0.2753, allocations: 52 kB / 336.5 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.2755, allocations: 48 kB / 336.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2756, allocations: 159.4 kB / 336.7 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001628/0.2758, allocations: 197.3 kB / 336.9 MB, free: 10.3 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006745/0.2765, allocations: 0.8075 MB / 337.7 MB, free: 9.492 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.2765, allocations: 3.938 kB / 337.7 MB, free: 9.488 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2765, allocations: 3.938 kB / 337.7 MB, free: 9.484 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.2765, allocations: 0 / 337.7 MB, free: 9.484 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.001673/0.2782, allocations: 1.087 MB / 338.8 MB, free: 8.344 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.2783, allocations: 19.97 kB / 338.8 MB, free: 8.324 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.2784, allocations: 98.88 kB / 338.9 MB, free: 8.227 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.2791, allocations: 438 kB / 339.3 MB, free: 7.758 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.2792, allocations: 74 kB / 339.4 MB, free: 7.688 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.2793, allocations: 95.94 kB / 339.5 MB, free: 7.594 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.2806, allocations: 0.8636 MB / 340.4 MB, free: 6.703 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2807, allocations: 0 / 340.4 MB, free: 6.703 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.387e-05/0.2807, allocations: 39.98 kB / 340.4 MB, free: 6.664 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.317e-05/0.2808, allocations: 24 kB / 340.4 MB, free: 6.641 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009054/0.2817, allocations: 0.5699 MB / 341 MB, free: 6.074 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.2856, allocations: 2.984 MB / 344 MB, free: 2.973 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.286, allocations: 302.4 kB / 344.3 MB, free: 2.668 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.2864, allocations: 280.7 kB / 344.6 MB, free: 2.391 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.2864, allocations: 4 kB / 344.6 MB, free: 2.387 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.2865, allocations: 38.56 kB / 344.6 MB, free: 2.34 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.2865, allocations: 0 / 344.6 MB, free: 2.34 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001342/0.2878, allocations: 0.651 MB / 345.2 MB, free: 1.66 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.2879, allocations: 59.34 kB / 345.3 MB, free: 1.59 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000502/0.2884, allocations: 0.5103 MB / 345.8 MB, free: 1.07 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.2884, allocations: 29.7 kB / 345.8 MB, free: 1.035 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.2887, allocations: 493.5 kB / 346.3 MB, free: 0.543 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2888, allocations: 157.8 kB / 346.5 MB, free: 396 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.492e-05/0.2888, allocations: 16 kB / 346.5 MB, free: 380 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.289, allocations: 370.7 kB / 346.9 MB, free: 0 / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.2893, allocations: 170 kB / 347 MB, free: 15.83 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.2897, allocations: 449.6 kB / 347.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.2901, allocations: 238 kB / 347.7 MB, free: 15.04 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2901, allocations: 4 kB / 347.7 MB, free: 15.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001131/0.2912, allocations: 0.7611 MB / 348.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.2913, allocations: 12 kB / 348.5 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.2913, allocations: 8 kB / 348.5 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/0.2916, allocations: 80.81 kB / 348.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/0.2922, allocations: 207.7 kB / 348.8 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.294, allocations: 1.792 MB / 350.6 MB, free: 12.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.2945, allocations: 94.95 kB / 350.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.2946, allocations: 36 kB / 350.7 MB, free: 11.9 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 (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 prepare postOptimizeDAE: time 0.000306/0.2949, allocations: 209.7 kB / 350.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-05/0.295, allocations: 59.34 kB / 350.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.2951, allocations: 65.5 kB / 351 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2951, allocations: 4 kB / 351 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2951, allocations: 4 kB / 351 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2951, allocations: 3.953 kB / 351 MB, free: 11.55 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007197/0.2959, allocations: 0.6452 MB / 351.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2959, allocations: 0 / 351.7 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.2963, allocations: 107.9 kB / 351.8 MB, free: 10.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001944/0.2965, allocations: 68.75 kB / 351.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.2965, allocations: 11.98 kB / 351.8 MB, free: 10.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.2981, allocations: 1.792 MB / 353.6 MB, free: 8.746 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.2981, allocations: 3.938 kB / 353.6 MB, free: 8.742 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/0.299, allocations: 0.6657 MB / 354.3 MB, free: 8.059 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2992, allocations: 140.4 kB / 354.4 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.429e-05/0.2992, allocations: 12 kB / 354.5 MB, free: 7.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.2996, allocations: 51.95 kB / 354.5 MB, free: 7.84 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.594e-05/0.2997, allocations: 31.92 kB / 354.5 MB, free: 7.809 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.2997, allocations: 15.98 kB / 354.6 MB, free: 7.793 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004257/0.3001, allocations: 334.9 kB / 354.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3001, allocations: 0 / 354.9 MB, free: 7.469 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0009577/0.3011, allocations: 247.2 kB / 355.1 MB, free: 7.227 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 (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.0001913/0.3013, allocations: 123.2 kB / 355.2 MB, free: 7.094 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3023, allocations: 0.589 MB / 355.8 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3023, allocations: 0 / 355.8 MB, free: 6.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.3028, allocations: 322.4 kB / 356.1 MB, free: 6.168 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000658/0.3035, allocations: 114.9 kB / 356.3 MB, free: 6.059 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3061, allocations: 1.746 MB / 358 MB, free: 4.285 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.3066, allocations: 0.934 MB / 358.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.3069, allocations: 69.22 kB / 359 MB, free: 3.254 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.307, allocations: 43.44 kB / 359.1 MB, free: 3.211 MB / 286.1 MB Notification: Performance of SimCode: time 7.41e-07/0.307, allocations: 0 / 359.1 MB, free: 3.211 MB / 286.1 MB Notification: Performance of Templates: time 0.01198/0.319, allocations: 6.521 MB / 365.6 MB, free: 12.68 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)