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.0008941/0.0008945, allocations: 95.38 kB / 15.37 MB, free: 0.7266 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.008204/0.008204, allocations: 177.8 kB / 16.27 MB, free: 6.34 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.748/1.748, allocations: 205.4 MB / 222.4 MB, free: 5.535 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.0006899/0.00069, allocations: 18.81 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3712, allocations: 47.58 MB / 327 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.005651/0.377, allocations: 5.253 MB / 332.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.3809, allocations: 1.187 MB / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008656/0.3818, allocations: 21 kB / 333.5 MB, free: 12.2 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004423/0.3822, allocations: 126.6 kB / 333.6 MB, free: 12.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008993/0.3831, allocations: 237.5 kB / 333.8 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3837, allocations: 187.2 kB / 334 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.385, allocations: 1.018 MB / 335 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009214/0.3859, allocations: 436.8 kB / 335.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007732/0.3867, allocations: 346.6 kB / 335.8 MB, free: 10.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006257/0.3874, allocations: 409.9 kB / 336.2 MB, free: 10.13 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.3875, allocations: 48 kB / 336.3 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.3876, allocations: 52 kB / 336.3 MB, free: 10.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3878, allocations: 159.4 kB / 336.5 MB, free: 9.879 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.3883, allocations: 475.2 kB / 336.9 MB, free: 9.406 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.3895, allocations: 1.032 MB / 338 MB, free: 8.371 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3895, allocations: 0 / 338 MB, free: 8.371 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3895, allocations: 0 / 338 MB, free: 8.371 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3895, allocations: 0 / 338 MB, free: 8.371 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.001886/0.3914, allocations: 1.08 MB / 339 MB, free: 7.242 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.3915, allocations: 8.031 kB / 339.1 MB, free: 7.234 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.3917, allocations: 107.8 kB / 339.2 MB, free: 7.129 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.3923, allocations: 455.1 kB / 339.6 MB, free: 6.641 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.3923, allocations: 70.31 kB / 339.7 MB, free: 6.57 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.3925, allocations: 96.38 kB / 339.8 MB, free: 6.477 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.3939, allocations: 0.8716 MB / 340.6 MB, free: 5.582 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.3939, allocations: 7.984 kB / 340.6 MB, free: 5.574 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/0.394, allocations: 40 kB / 340.7 MB, free: 5.535 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3941, allocations: 24 kB / 340.7 MB, free: 5.512 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009782/0.3951, allocations: 0.5739 MB / 341.3 MB, free: 4.938 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/0.3997, allocations: 2.987 MB / 344.3 MB, free: 1.832 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.4002, allocations: 302.4 kB / 344.6 MB, free: 1.527 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.4006, allocations: 264.8 kB / 344.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.4006, allocations: 4 kB / 344.8 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4007, allocations: 38.56 kB / 344.9 MB, free: 1.215 MB / 270.1 MB Notification: Performance of pre-optimization done (n=42): time 3.377e-06/0.4007, allocations: 4 kB / 344.9 MB, free: 1.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.001537/0.4022, allocations: 0.6627 MB / 345.5 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4023, allocations: 55.41 kB / 345.6 MB, free: 464 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.4029, allocations: 0.5143 MB / 346.1 MB, free: 15.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.403, allocations: 33.7 kB / 346.1 MB, free: 15.89 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.4033, allocations: 489.4 kB / 346.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.4034, allocations: 157.8 kB / 346.8 MB, free: 15.24 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.4035, allocations: 69.67 kB / 346.8 MB, free: 15.17 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4037, allocations: 366.8 kB / 347.2 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.404, allocations: 173.9 kB / 347.4 MB, free: 14.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.4045, allocations: 453.6 kB / 347.8 MB, free: 14.06 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000797/0.4053, allocations: 0.6556 MB / 348.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.4053, allocations: 4 kB / 348.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001275/0.4066, allocations: 0.7649 MB / 349.2 MB, free: 12.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4066, allocations: 12.08 kB / 349.2 MB, free: 12.49 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.4067, allocations: 12 kB / 349.2 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003291/0.407, allocations: 80.81 kB / 349.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.4077, allocations: 195.7 kB / 349.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/0.4095, allocations: 1.815 MB / 351.3 MB, free: 10.26 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005579/0.4101, allocations: 94.95 kB / 351.4 MB, free: 10.17 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.4101, allocations: 36 kB / 351.5 MB, free: 10.13 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.0003397/0.4105, allocations: 209.5 kB / 351.7 MB, free: 9.918 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/0.4106, allocations: 63.41 kB / 351.7 MB, free: 9.855 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.4107, allocations: 69.44 kB / 351.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.4107, allocations: 4 kB / 351.8 MB, free: 9.781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/0.4107, allocations: 8 kB / 351.8 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4107, allocations: 0 / 351.8 MB, free: 9.773 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007967/0.4115, allocations: 0.6456 MB / 352.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4115, allocations: 0 / 352.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004086/0.412, allocations: 103.9 kB / 352.6 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.4122, allocations: 76.67 kB / 352.6 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.4122, allocations: 11.98 kB / 352.6 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.414, allocations: 1.784 MB / 354.4 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.414, allocations: 4.062 kB / 354.4 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4151, allocations: 0.6619 MB / 355.1 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.4152, allocations: 136.3 kB / 355.2 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.4153, allocations: 12 kB / 355.2 MB, free: 6.117 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004182/0.4157, allocations: 55.91 kB / 355.3 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.003e-05/0.4158, allocations: 31.89 kB / 355.3 MB, free: 6.031 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.4158, allocations: 12 kB / 355.3 MB, free: 6.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004061/0.4163, allocations: 346.9 kB / 355.7 MB, free: 5.684 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4163, allocations: 0 / 355.7 MB, free: 5.684 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008382/0.4171, allocations: 243.2 kB / 355.9 MB, free: 5.445 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.0002058/0.4173, allocations: 115.2 kB / 356 MB, free: 5.324 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4184, allocations: 0.5933 MB / 356.6 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4184, allocations: 4 kB / 356.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.4188, allocations: 318.7 kB / 356.9 MB, free: 4.387 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.4196, allocations: 114.3 kB / 357 MB, free: 4.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.4226, allocations: 1.852 MB / 358.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.4233, allocations: 0.9301 MB / 359.8 MB, free: 1.438 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0003827/0.4237, allocations: 69.22 kB / 359.9 MB, free: 1.371 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.634e-05/0.4238, allocations: 39.44 kB / 359.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4238, allocations: 4 kB / 359.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of Templates: time 0.01475/0.4385, allocations: 6.752 MB / 366.7 MB, free: 10.57 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)