Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001213/0.001212, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001337/0.001337, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.689/1.689, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001528/0.001528, allocations: 44.36 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3577, allocations: 46.64 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.008296/0.366, allocations: 5.71 MB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.3703, allocations: 1.192 MB / 331.7 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008376/0.3712, allocations: 20.5 kB / 331.8 MB, free: 12.37 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.3718, allocations: 131.3 kB / 331.9 MB, free: 12.26 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000816/0.3727, allocations: 228.1 kB / 332.1 MB, free: 12.06 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006209/0.3733, allocations: 196.7 kB / 332.3 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001655/0.375, allocations: 1.051 MB / 333.4 MB, free: 11.28 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.3761, allocations: 0.5149 MB / 333.9 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007543/0.3769, allocations: 424.4 kB / 334.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.3775, allocations: 469.9 kB / 334.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.3777, allocations: 99.94 kB / 334.8 MB, free: 10.06 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.3779, allocations: 96 kB / 334.9 MB, free: 9.969 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002278/0.3781, allocations: 231.2 kB / 335.2 MB, free: 9.742 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004898/0.3786, allocations: 0.4938 MB / 335.7 MB, free: 9.246 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.3798, allocations: 1.095 MB / 336.8 MB, free: 8.148 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.3798, allocations: 0 / 336.8 MB, free: 8.148 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.3799, allocations: 3.938 kB / 336.8 MB, free: 8.145 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.3799, allocations: 0 / 336.8 MB, free: 8.145 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.002175/0.3821, allocations: 1.236 MB / 338 MB, free: 6.859 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.3821, allocations: 12.03 kB / 338 MB, free: 6.848 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3823, allocations: 103.7 kB / 338.1 MB, free: 6.746 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006574/0.383, allocations: 447.2 kB / 338.5 MB, free: 6.266 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.105e-05/0.3831, allocations: 82.31 kB / 338.6 MB, free: 6.184 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.3832, allocations: 92.38 kB / 338.7 MB, free: 6.094 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.3846, allocations: 0.8678 MB / 339.6 MB, free: 5.203 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3846, allocations: 4 kB / 339.6 MB, free: 5.199 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.3847, allocations: 39.94 kB / 339.6 MB, free: 5.16 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.3847, allocations: 28 kB / 339.7 MB, free: 5.133 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.3857, allocations: 0.57 MB / 340.2 MB, free: 4.559 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004375/0.3901, allocations: 2.964 MB / 343.2 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004427/0.3906, allocations: 306.3 kB / 343.5 MB, free: 1.168 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.391, allocations: 268.7 kB / 343.7 MB, free: 0.9023 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.391, allocations: 8 kB / 343.8 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3911, allocations: 34.56 kB / 343.8 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 1.843e-06/0.3911, allocations: 0 / 343.8 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001767/0.3928, allocations: 0.651 MB / 344.4 MB, free: 176 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3929, allocations: 59.34 kB / 344.5 MB, free: 104 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006591/0.3936, allocations: 0.518 MB / 345 MB, free: 15.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.3936, allocations: 33.7 kB / 345.1 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.394, allocations: 489.5 kB / 345.5 MB, free: 15.05 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.3942, allocations: 157.8 kB / 345.7 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.3944, allocations: 138.4 kB / 345.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.3946, allocations: 370.8 kB / 346.2 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.395, allocations: 165.9 kB / 346.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005539/0.3956, allocations: 449.6 kB / 346.8 MB, free: 13.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.3965, allocations: 0.6557 MB / 347.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3965, allocations: 4 kB / 347.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001224/0.3978, allocations: 0.7532 MB / 348.2 MB, free: 12.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.3978, allocations: 12.16 kB / 348.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.3978, allocations: 8 kB / 348.2 MB, free: 12.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003698/0.3982, allocations: 92.75 kB / 348.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006713/0.3989, allocations: 191.7 kB / 348.5 MB, free: 11.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.4011, allocations: 2.006 MB / 350.5 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.4016, allocations: 87.06 kB / 350.6 MB, free: 9.578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.4016, allocations: 36 kB / 350.6 MB, free: 9.543 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.0002692/0.4019, allocations: 213.6 kB / 350.8 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.402, allocations: 59.33 kB / 350.9 MB, free: 9.266 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.4021, allocations: 69.5 kB / 351 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.4021, allocations: 4 kB / 351 MB, free: 9.188 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.4021, allocations: 0 / 351 MB, free: 9.188 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4021, allocations: 3.938 kB / 351 MB, free: 9.184 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.4028, allocations: 0.6453 MB / 351.6 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4028, allocations: 288 / 351.6 MB, free: 8.488 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.4032, allocations: 107.9 kB / 351.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001991/0.4034, allocations: 72.69 kB / 351.8 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.4035, allocations: 15.98 kB / 351.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.4053, allocations: 1.975 MB / 353.8 MB, free: 6.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4053, allocations: 4 kB / 353.8 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009071/0.4062, allocations: 0.6659 MB / 354.4 MB, free: 5.492 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.4064, allocations: 136.4 kB / 354.6 MB, free: 5.34 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.4064, allocations: 8 kB / 354.6 MB, free: 5.332 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.4068, allocations: 43.97 kB / 354.6 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/0.4069, allocations: 35.89 kB / 354.7 MB, free: 5.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.4069, allocations: 12 kB / 354.7 MB, free: 5.242 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003574/0.4073, allocations: 342.9 kB / 355 MB, free: 4.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4073, allocations: 0 / 355 MB, free: 4.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007232/0.408, allocations: 243.3 kB / 355.2 MB, free: 4.672 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.0001769/0.4082, allocations: 107.5 kB / 355.3 MB, free: 4.559 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.4092, allocations: 0.6086 MB / 356 MB, free: 3.934 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4092, allocations: 4.375 kB / 356 MB, free: 3.93 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.4097, allocations: 326.3 kB / 356.3 MB, free: 3.598 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006235/0.4103, allocations: 114.3 kB / 356.4 MB, free: 3.484 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.4128, allocations: 1.771 MB / 358.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.4133, allocations: 0.9298 MB / 359.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003029/0.4136, allocations: 65.22 kB / 359.2 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.872e-05/0.4137, allocations: 39.44 kB / 359.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4137, allocations: 0 / 359.2 MB, free: 0.625 MB / 286.1 MB Notification: Performance of Templates: time 0.01307/0.4268, allocations: 7.142 MB / 366.3 MB, free: 9.477 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)