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.001199/0.001199, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00129/0.00129, allocations: 177.3 kB / 15.95 MB, free: 216 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.597/1.597, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005214/0.0005215, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2564, allocations: 47.59 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.004505/0.261, allocations: 4.507 MB / 331 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.2636, allocations: 1.245 MB / 332.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.2642, allocations: 16.22 kB / 332.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.2644, allocations: 120.8 kB / 332.3 MB, free: 12.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007241/0.2651, allocations: 332.9 kB / 332.7 MB, free: 12.47 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2656, allocations: 161.7 kB / 332.8 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009563/0.2666, allocations: 0.7342 MB / 333.5 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006463/0.2672, allocations: 396.9 kB / 333.9 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005187/0.2678, allocations: 333.9 kB / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.2683, allocations: 386.3 kB / 334.6 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.2684, allocations: 50.56 kB / 334.7 MB, free: 11.2 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2685, allocations: 54.44 kB / 334.7 MB, free: 11.19 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.2686, allocations: 162.5 kB / 334.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.2688, allocations: 193.3 kB / 335.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.2695, allocations: 0.8036 MB / 335.9 MB, free: 10.04 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2695, allocations: 3.938 kB / 335.9 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2695, allocations: 0 / 335.9 MB, free: 10.03 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.2695, allocations: 0 / 335.9 MB, free: 10.03 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.001767/0.2713, allocations: 1.087 MB / 337 MB, free: 8.891 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2713, allocations: 8.031 kB / 337 MB, free: 8.883 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.2715, allocations: 102.9 kB / 337.1 MB, free: 8.781 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005908/0.2721, allocations: 442 kB / 337.5 MB, free: 8.309 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.406e-05/0.2722, allocations: 74 kB / 337.6 MB, free: 8.238 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2723, allocations: 92 kB / 337.7 MB, free: 8.148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2736, allocations: 0.8596 MB / 338.5 MB, free: 7.262 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.2736, allocations: 0 / 338.5 MB, free: 7.262 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.167e-05/0.2737, allocations: 43.98 kB / 338.6 MB, free: 7.219 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.2737, allocations: 24 kB / 338.6 MB, free: 7.195 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009216/0.2746, allocations: 0.566 MB / 339.2 MB, free: 6.633 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004119/0.2788, allocations: 2.991 MB / 342.2 MB, free: 3.523 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.2792, allocations: 298.4 kB / 342.5 MB, free: 3.223 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2792, allocations: 4 kB / 342.5 MB, free: 3.219 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.2793, allocations: 46.44 kB / 342.5 MB, free: 3.164 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.2793, allocations: 0 / 342.5 MB, free: 3.164 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001383/0.2807, allocations: 0.6472 MB / 343.2 MB, free: 2.488 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.2807, allocations: 55.41 kB / 343.2 MB, free: 2.422 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.2813, allocations: 0.5064 MB / 343.7 MB, free: 1.906 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.2813, allocations: 33.7 kB / 343.8 MB, free: 1.867 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003164/0.2816, allocations: 493.5 kB / 344.2 MB, free: 1.375 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.2818, allocations: 157.8 kB / 344.4 MB, free: 1.219 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.2818, allocations: 16 kB / 344.4 MB, free: 1.203 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.282, allocations: 370.7 kB / 344.8 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2822, allocations: 169.9 kB / 344.9 MB, free: 0.668 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.2827, allocations: 453.5 kB / 345.4 MB, free: 100 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.2831, allocations: 234.1 kB / 345.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.2831, allocations: 7.938 kB / 345.6 MB, free: 15.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0011/0.2842, allocations: 0.7528 MB / 346.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.2842, allocations: 8 kB / 346.4 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.2842, allocations: 12.56 kB / 346.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002927/0.2846, allocations: 88.69 kB / 346.5 MB, free: 14.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.2852, allocations: 203.7 kB / 346.7 MB, free: 14.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.2872, allocations: 1.815 MB / 348.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004957/0.2878, allocations: 94.92 kB / 348.6 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/0.2879, allocations: 32 kB / 348.6 MB, free: 12.71 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.0003173/0.2882, allocations: 209.6 kB / 348.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2883, allocations: 59.34 kB / 348.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.571e-05/0.2884, allocations: 65.58 kB / 348.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.2884, allocations: 4 kB / 348.9 MB, free: 12.37 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.2884, allocations: 7.984 kB / 348.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2884, allocations: 0 / 348.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007143/0.2891, allocations: 0.6569 MB / 349.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2892, allocations: 0 / 349.6 MB, free: 11.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.2896, allocations: 95.88 kB / 349.7 MB, free: 11.56 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001926/0.2898, allocations: 73.36 kB / 349.8 MB, free: 11.49 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.2898, allocations: 12 kB / 349.8 MB, free: 11.48 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.2914, allocations: 1.811 MB / 351.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2915, allocations: 0 / 351.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000877/0.2923, allocations: 0.6581 MB / 352.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.2925, allocations: 140.3 kB / 352.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.2925, allocations: 11.98 kB / 352.4 MB, free: 8.691 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.2929, allocations: 51.97 kB / 352.4 MB, free: 8.641 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.293, allocations: 23.92 kB / 352.5 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.293, allocations: 23.98 kB / 352.5 MB, free: 8.594 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003567/0.2934, allocations: 338.9 kB / 352.8 MB, free: 8.266 MB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2934, allocations: 0 / 352.8 MB, free: 8.266 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007834/0.2942, allocations: 247.2 kB / 353.1 MB, free: 8.023 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.0001756/0.2944, allocations: 119.2 kB / 353.2 MB, free: 7.895 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009814/0.2954, allocations: 0.5852 MB / 353.8 MB, free: 7.301 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.2954, allocations: 256 / 353.8 MB, free: 7.301 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.2958, allocations: 330.3 kB / 354.1 MB, free: 6.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.2964, allocations: 110.8 kB / 354.2 MB, free: 6.859 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.2986, allocations: 1.746 MB / 355.9 MB, free: 5.086 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004651/0.299, allocations: 0.9457 MB / 356.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002795/0.2993, allocations: 69.22 kB / 357 MB, free: 4.043 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.2994, allocations: 39.44 kB / 357 MB, free: 4.004 MB / 286.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2994, allocations: 0 / 357 MB, free: 4.004 MB / 286.1 MB Notification: Performance of Templates: time 0.01247/0.3119, allocations: 6.517 MB / 363.5 MB, free: 13.48 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: