Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_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.001391/0.001391, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.001594/0.001594, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 55.91 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2513, allocations: 49.42 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005115/0.2564, allocations: 4.256 MB / 405.7 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.2582, allocations: 0.924 MB / 406.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.2586, allocations: 8 kB / 406.6 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.259, allocations: 99 kB / 406.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000662/0.2597, allocations: 202.3 kB / 406.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.2601, allocations: 163.7 kB / 407.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007751/0.2608, allocations: 0.7283 MB / 407.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.2612, allocations: 227 kB / 408 MB, free: 2.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002865/0.2615, allocations: 278.9 kB / 408.3 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003482/0.2618, allocations: 326.5 kB / 408.6 MB, free: 1.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.701e-05/0.2619, allocations: 64 kB / 408.7 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.262, allocations: 60 kB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.2622, allocations: 155.4 kB / 408.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.2625, allocations: 326.3 kB / 409.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006499/0.2632, allocations: 0.7084 MB / 409.9 MB, free: 364 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2632, allocations: 7.922 kB / 409.9 MB, free: 356 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2632, allocations: 0 / 409.9 MB, free: 356 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2632, allocations: 0 / 409.9 MB, free: 356 kB / 318.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.001571/0.2648, allocations: 0.908 MB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.2648, allocations: 12.03 kB / 410.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.265, allocations: 64.19 kB / 410.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.2655, allocations: 382 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.2655, allocations: 37.69 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.495e-05/0.2656, allocations: 52.38 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.2666, allocations: 0.5454 MB / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.2666, allocations: 0 / 411.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.323e-05/0.2667, allocations: 27.94 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.2667, allocations: 12 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009015/0.2676, allocations: 447.7 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.2704, allocations: 2.03 MB / 414.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008914/0.2714, allocations: 0.6376 MB / 415.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/0.2719, allocations: 406.2 kB / 415.4 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.272, allocations: 8.547 kB / 415.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.272, allocations: 43.06 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.134e-06/0.272, allocations: 3.938 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004551/0.2766, allocations: 2.032 MB / 417.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.2766, allocations: 59.97 kB / 417.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.277, allocations: 361.7 kB / 417.9 MB, free: 7.934 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.284e-05/0.2771, allocations: 37.7 kB / 418 MB, free: 7.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2773, allocations: 225.2 kB / 418.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/0.2775, allocations: 201.1 kB / 418.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.2776, allocations: 90.16 kB / 418.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.2778, allocations: 362.8 kB / 418.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003266/0.2781, allocations: 165 kB / 419 MB, free: 6.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.2785, allocations: 211.8 kB / 419.2 MB, free: 6.637 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.2792, allocations: 380.9 kB / 419.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2792, allocations: 3.938 kB / 419.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001201/0.2804, allocations: 0.6656 MB / 420.3 MB, free: 5.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2805, allocations: 4 kB / 420.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.2805, allocations: 7.938 kB / 420.3 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006957/0.2812, allocations: 255.1 kB / 420.5 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.2815, allocations: 63.92 kB / 420.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006856/0.2883, allocations: 7.501 MB / 428.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.2887, allocations: 28.02 kB / 428.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2887, allocations: 16 kB / 428.1 MB, free: 13.13 MB / 350.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.0002216/0.2889, allocations: 165.8 kB / 428.3 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.289, allocations: 51.34 kB / 428.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.2892, allocations: 68.94 kB / 428.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.2892, allocations: 0 / 428.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.2892, allocations: 4 kB / 428.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.2894, allocations: 160.4 kB / 428.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.2895, allocations: 12 kB / 428.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.2897, allocations: 23.92 kB / 428.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2899, allocations: 40.5 kB / 428.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002112/0.292, allocations: 0.8298 MB / 429.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001385/0.2934, allocations: 0.9069 MB / 430.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003476/0.2937, allocations: 192.4 kB / 430.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.294, allocations: 259.2 kB / 430.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of Backend: time 4.51e-07/0.294, allocations: 0 / 430.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.2956, allocations: 0.9529 MB / 431.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of SimCode: time 0.002049/0.2977, allocations: 1.78 MB / 433.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of Templates: time 0.01465/0.3123, allocations: 8.493 MB / 442 MB, free: 15.11 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)