Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2238, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007219/0.231, allocations: 6.241 MB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.2341, allocations: 1.69 MB / 417.9 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007356/0.2349, allocations: 47.81 kB / 417.9 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.2355, allocations: 297.5 kB / 418.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.2369, allocations: 429.2 kB / 418.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007946/0.2377, allocations: 343.6 kB / 419 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001796/0.2395, allocations: 2.141 MB / 421.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002403/0.2419, allocations: 2.445 MB / 423.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.243, allocations: 1.04 MB / 424.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001281/0.2443, allocations: 1.206 MB / 425.8 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003277/0.2446, allocations: 292 kB / 426.1 MB, free: 1.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.2452, allocations: 415.7 kB / 426.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005387/0.2458, allocations: 0.7013 MB / 427.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.2468, allocations: 1.229 MB / 428.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.2497, allocations: 3.631 MB / 432 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2497, allocations: 4 kB / 432.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2497, allocations: 3.938 kB / 432.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.735e-05/0.2498, allocations: 0 / 432.1 MB, free: 11.32 MB / 350.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.003874/0.2536, allocations: 2.472 MB / 434.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.2537, allocations: 12.03 kB / 434.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006292/0.2543, allocations: 258.2 kB / 434.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.2564, allocations: 1.302 MB / 436.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.2566, allocations: 152.5 kB / 436.2 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002628/0.2568, allocations: 220 kB / 436.5 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/0.2606, allocations: 2.607 MB / 439.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.2607, allocations: 3.938 kB / 439.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.2609, allocations: 84 kB / 439.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.746e-05/0.2609, allocations: 59.98 kB / 439.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003141/0.2641, allocations: 2.081 MB / 441.3 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009612/0.2737, allocations: 7.291 MB / 448.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.2759, allocations: 2.352 MB / 450.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001432/0.2773, allocations: 0.9435 MB / 451.9 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.2774, allocations: 12.94 kB / 451.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.2774, allocations: 43.56 kB / 451.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.464e-06/0.2774, allocations: 0 / 451.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007114/0.2845, allocations: 4.193 MB / 456.1 MB, free: 2.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2846, allocations: 60.41 kB / 456.2 MB, free: 2.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009793/0.2856, allocations: 0.8719 MB / 457.1 MB, free: 1.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.2856, allocations: 37.7 kB / 457.1 MB, free: 1.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.2861, allocations: 0.8373 MB / 457.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.2863, allocations: 327.2 kB / 458.2 MB, free: 316 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.2866, allocations: 174.6 kB / 458.4 MB, free: 136 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2867, allocations: 345.9 kB / 458.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007294/0.2875, allocations: 497.7 kB / 459.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.2883, allocations: 0.6733 MB / 459.9 MB, free: 14.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/0.29, allocations: 1.201 MB / 461.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.29, allocations: 4 kB / 461.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002436/0.2924, allocations: 1.628 MB / 462.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2924, allocations: 8 kB / 462.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2925, allocations: 4 kB / 462.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.2935, allocations: 470.9 kB / 463.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.2942, allocations: 175.8 kB / 463.4 MB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008396/0.3026, allocations: 9.282 MB / 472.7 MB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004915/0.3031, allocations: 43.95 kB / 472.7 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.3031, allocations: 39.94 kB / 472.8 MB, free: 1.066 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.0008375/0.304, allocations: 0.6457 MB / 473.4 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.3042, allocations: 106.8 kB / 473.5 MB, free: 312 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3044, allocations: 138.1 kB / 473.6 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.3044, allocations: 7.984 kB / 473.6 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3045, allocations: 0 / 473.6 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000486/0.3049, allocations: 279.8 kB / 473.9 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.3051, allocations: 27.94 kB / 473.9 MB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.3055, allocations: 39.95 kB / 474 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.3057, allocations: 80.86 kB / 474.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003317/0.309, allocations: 1.796 MB / 475.9 MB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00265/0.3117, allocations: 2.021 MB / 477.9 MB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007615/0.3125, allocations: 0.5854 MB / 478.5 MB, free: 11.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007227/0.3132, allocations: 0.6083 MB / 479.1 MB, free: 10.68 MB / 398.1 MB Notification: Performance of Backend: time 2.7e-07/0.3132, allocations: 0 / 479.1 MB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.3156, allocations: 1.451 MB / 480.5 MB, free: 9.16 MB / 398.1 MB Notification: Performance of SimCode: time 0.005301/0.3209, allocations: 4.022 MB / 484.6 MB, free: 5.082 MB / 398.1 MB Notification: Performance of Templates: time 0.03197/0.3529, allocations: 20.2 MB / 0.4929 GB, free: 1.082 MB / 414.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1)