Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001761/0.001761, allocations: 107.1 kB / 17.74 MB, free: 5.438 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.001846/0.001846, allocations: 186.5 kB / 18.66 MB, free: 4.516 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 43.94 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.233, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007423/0.2404, allocations: 6.24 MB / 407.6 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.2437, allocations: 1.636 MB / 409.3 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.2447, allocations: 47.81 kB / 409.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.2455, allocations: 297.6 kB / 409.6 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.2472, allocations: 441.2 kB / 410 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008955/0.2481, allocations: 347.6 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002668/0.2508, allocations: 2.137 MB / 412.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00332/0.2542, allocations: 2.43 MB / 414.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/0.2555, allocations: 1.036 MB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002158/0.2576, allocations: 1.226 MB / 417.2 MB, free: 8.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006013/0.2583, allocations: 288 kB / 417.5 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.2593, allocations: 423.7 kB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006925/0.26, allocations: 0.7013 MB / 418.6 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.2614, allocations: 1.237 MB / 419.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.2647, allocations: 3.64 MB / 423.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2647, allocations: 0 / 423.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.2647, allocations: 0 / 423.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.918e-05/0.2648, allocations: 4 kB / 423.5 MB, free: 2.672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004137/0.2689, allocations: 2.528 MB / 426 MB, free: 80 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.269, allocations: 11.89 kB / 426 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003964/0.2694, allocations: 242.5 kB / 426.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.2712, allocations: 1.288 MB / 427.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.2713, allocations: 152.5 kB / 427.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002787/0.2716, allocations: 205.1 kB / 427.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003908/0.2755, allocations: 2.614 MB / 430.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.2756, allocations: 3.938 kB / 430.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.2758, allocations: 91.94 kB / 430.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.093e-05/0.2758, allocations: 52 kB / 430.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003301/0.2792, allocations: 2.085 MB / 432.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009911/0.2891, allocations: 7.313 MB / 440.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.2914, allocations: 2.352 MB / 442.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001454/0.2929, allocations: 0.9436 MB / 443.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.154e-05/0.293, allocations: 9 kB / 443.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.293, allocations: 47.56 kB / 443.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.926e-06/0.293, allocations: 0 / 443.4 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007371/0.3004, allocations: 4.211 MB / 447.6 MB, free: 9.773 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3004, allocations: 60.41 kB / 447.7 MB, free: 9.703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.3015, allocations: 0.8563 MB / 448.5 MB, free: 8.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.3016, allocations: 45.7 kB / 448.6 MB, free: 8.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005377/0.3021, allocations: 0.8514 MB / 449.4 MB, free: 7.926 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002397/0.3024, allocations: 341.1 kB / 449.8 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/0.3026, allocations: 178.6 kB / 449.9 MB, free: 7.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3028, allocations: 349.9 kB / 450.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007728/0.3036, allocations: 497.7 kB / 450.8 MB, free: 6.574 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000877/0.3044, allocations: 0.6788 MB / 451.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.3061, allocations: 1.205 MB / 452.7 MB, free: 4.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.3061, allocations: 4 kB / 452.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002556/0.3087, allocations: 1.632 MB / 454.3 MB, free: 2.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3087, allocations: 12.16 kB / 454.3 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.3087, allocations: 4 kB / 454.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.3098, allocations: 466.9 kB / 454.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.3105, allocations: 179.7 kB / 454.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.3193, allocations: 9.273 MB / 464.2 MB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005009/0.3198, allocations: 47.97 kB / 464.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.3199, allocations: 43.91 kB / 464.3 MB, free: 8.324 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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.0008976/0.3208, allocations: 0.6418 MB / 464.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.321, allocations: 103.3 kB / 465 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.3212, allocations: 138 kB / 465.2 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3212, allocations: 8.047 kB / 465.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3213, allocations: 480 / 465.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003916/0.3217, allocations: 284.4 kB / 465.5 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.3218, allocations: 19.98 kB / 465.5 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/0.3222, allocations: 43.95 kB / 465.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.3224, allocations: 80.81 kB / 465.6 MB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00339/0.3258, allocations: 1.804 MB / 467.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002728/0.3286, allocations: 2.022 MB / 469.4 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007978/0.3294, allocations: 0.5855 MB / 470 MB, free: 2.535 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007368/0.3301, allocations: 0.6044 MB / 470.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of Backend: time 2.71e-07/0.3301, allocations: 0 / 470.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002322/0.3325, allocations: 1.46 MB / 472.1 MB, free: 424 kB / 382.1 MB Notification: Performance of SimCode: time 0.005852/0.3383, allocations: 4.066 MB / 476.1 MB, free: 12.29 MB / 398.1 MB Notification: Performance of Templates: time 0.03218/0.3705, allocations: 20.19 MB / 496.3 MB, free: 8.316 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1)