Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.00116, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001213/0.001213, allocations: 192.9 kB / 16.14 MB, free: 6.715 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.513/1.513, allocations: 205.1 MB / 222 MB, free: 4.73 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.001349/0.001349, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2777, allocations: 46.63 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006898/0.2847, allocations: 4.223 MB / 328.9 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.2875, allocations: 0.9604 MB / 329.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004175/0.2879, allocations: 8.188 kB / 329.9 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.2884, allocations: 75.5 kB / 329.9 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008071/0.2892, allocations: 165.8 kB / 330.1 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.2897, allocations: 134.6 kB / 330.2 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001226/0.291, allocations: 0.7198 MB / 331 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.2915, allocations: 188 kB / 331.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005031/0.292, allocations: 265 kB / 331.4 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.2926, allocations: 315.8 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.2927, allocations: 42.84 kB / 331.7 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.2928, allocations: 43.22 kB / 331.8 MB, free: 12.56 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.2931, allocations: 130.5 kB / 331.9 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.2935, allocations: 311.8 kB / 332.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008325/0.2943, allocations: 0.6682 MB / 332.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.2943, allocations: 1.125 kB / 332.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2943, allocations: 0 / 332.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.2944, allocations: 0 / 332.9 MB, free: 11.73 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002232/0.2966, allocations: 0.9104 MB / 333.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.2967, allocations: 8.031 kB / 333.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.2969, allocations: 72.17 kB / 333.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.2975, allocations: 382 kB / 334.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.498e-05/0.2976, allocations: 37.69 kB / 334.3 MB, free: 10.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.2977, allocations: 60.27 kB / 334.3 MB, free: 10.37 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.299, allocations: 0.5415 MB / 334.9 MB, free: 9.797 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.299, allocations: 4 kB / 334.9 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.147e-05/0.2991, allocations: 20 kB / 334.9 MB, free: 9.773 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.2991, allocations: 16 kB / 334.9 MB, free: 9.758 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.3003, allocations: 447.7 kB / 335.4 MB, free: 9.32 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003737/0.304, allocations: 2.038 MB / 337.4 MB, free: 7.195 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.3053, allocations: 0.6532 MB / 338.1 MB, free: 6.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008291/0.3062, allocations: 406.2 kB / 338.5 MB, free: 6.121 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.036e-05/0.3063, allocations: 8.562 kB / 338.5 MB, free: 6.109 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3063, allocations: 35.12 kB / 338.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of pre-optimization done (n=60): time 3.246e-06/0.3063, allocations: 0 / 338.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of matching and sorting (n=61): time 0.00618/0.3125, allocations: 2.036 MB / 340.5 MB, free: 3.91 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.3126, allocations: 55.97 kB / 340.6 MB, free: 3.844 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005277/0.3132, allocations: 365.6 kB / 340.9 MB, free: 3.477 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.3132, allocations: 37.64 kB / 341 MB, free: 3.434 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3134, allocations: 229.2 kB / 341.2 MB, free: 3.207 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.3136, allocations: 205 kB / 341.4 MB, free: 3.004 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.3138, allocations: 90.25 kB / 341.5 MB, free: 2.91 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.314, allocations: 358.8 kB / 341.8 MB, free: 2.551 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.3145, allocations: 165 kB / 342 MB, free: 2.391 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000496/0.315, allocations: 211.8 kB / 342.2 MB, free: 2.176 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.3159, allocations: 376.9 kB / 342.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3159, allocations: 0 / 342.6 MB, free: 1.805 MB / 270.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001646/0.3176, allocations: 0.6734 MB / 343.3 MB, free: 1.109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.3176, allocations: 7.938 kB / 343.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3177, allocations: 0 / 343.3 MB, free: 1.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.3187, allocations: 259.2 kB / 343.5 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.3191, allocations: 55.97 kB / 343.6 MB, free: 0.7812 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/0.3278, allocations: 6.777 MB / 350.3 MB, free: 9.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.3284, allocations: 15.97 kB / 350.4 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.3285, allocations: 24.17 kB / 350.4 MB, free: 9.426 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003366/0.3288, allocations: 169.8 kB / 350.5 MB, free: 9.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.329, allocations: 51.44 kB / 350.6 MB, free: 9.199 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.3291, allocations: 72.94 kB / 350.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.3291, allocations: 4 kB / 350.7 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.3292, allocations: 7.938 kB / 350.7 MB, free: 9.113 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.3292, allocations: 3.984 kB / 350.7 MB, free: 9.109 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.332, allocations: 1.333 MB / 352 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.332, allocations: 0 / 352 MB, free: 7.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003895/0.3324, allocations: 59.95 kB / 352.1 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009099/0.3333, allocations: 255.1 kB / 352.3 MB, free: 7.387 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.3334, allocations: 12 kB / 352.3 MB, free: 7.375 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00822/0.3416, allocations: 6.781 MB / 359.1 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3417, allocations: 4.125 kB / 359.1 MB, free: 52 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.3442, allocations: 1.033 MB / 360.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.3446, allocations: 160.4 kB / 360.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.3447, allocations: 15.98 kB / 360.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.3451, allocations: 8 kB / 360.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002005/0.3453, allocations: 56.48 kB / 360.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.3454, allocations: 20.11 kB / 360.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004105/0.3458, allocations: 259.2 kB / 360.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3458, allocations: 0 / 360.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001366/0.3472, allocations: 172 kB / 360.8 MB, free: 14.3 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002035/0.3474, allocations: 115.1 kB / 360.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.3497, allocations: 1.029 MB / 362 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3497, allocations: 0 / 362 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001566/0.3513, allocations: 0.8376 MB / 362.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3523, allocations: 93.42 kB / 362.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.3563, allocations: 1.488 MB / 364.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.3571, allocations: 0.8831 MB / 365.3 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002355/0.3573, allocations: 48.55 kB / 365.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.936e-05/0.3574, allocations: 31.42 kB / 365.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of SimCode: time 1.523e-06/0.3574, allocations: 0 / 365.4 MB, free: 9.613 MB / 302.1 MB Notification: Performance of Templates: time 0.0163/0.3737, allocations: 8.211 MB / 373.6 MB, free: 1.395 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)