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.001591/0.001591, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001825/0.001825, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008622/0.0008622, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2243, allocations: 49.43 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006494/0.2308, allocations: 6.238 MB / 407.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.2333, allocations: 1.64 MB / 409.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.2336, allocations: 43.81 kB / 409.3 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.2341, allocations: 305.6 kB / 409.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008721/0.235, allocations: 429.2 kB / 410 MB, free: 200 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.2356, allocations: 347.5 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00169/0.2373, allocations: 2.137 MB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.2396, allocations: 2.434 MB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009578/0.2405, allocations: 1.032 MB / 416 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.2418, allocations: 1.218 MB / 417.2 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003243/0.2422, allocations: 292 kB / 417.5 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000618/0.2428, allocations: 435.7 kB / 417.9 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000541/0.2433, allocations: 0.6935 MB / 418.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.2444, allocations: 1.233 MB / 419.8 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.2471, allocations: 3.631 MB / 423.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.2471, allocations: 0 / 423.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2471, allocations: 0 / 423.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.2472, allocations: 0 / 423.5 MB, free: 2.668 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.003939/0.2511, allocations: 2.472 MB / 425.9 MB, free: 136 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2512, allocations: 15.89 kB / 426 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003652/0.2515, allocations: 226.3 kB / 426.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.2535, allocations: 1.291 MB / 427.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.2536, allocations: 156.5 kB / 427.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.2539, allocations: 204.1 kB / 427.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.2579, allocations: 2.618 MB / 430.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.2579, allocations: 7.922 kB / 430.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.2581, allocations: 80 kB / 430.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.093e-05/0.2582, allocations: 55.94 kB / 430.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003374/0.2616, allocations: 2.089 MB / 432.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.2719, allocations: 7.29 MB / 440 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.2741, allocations: 2.348 MB / 442.3 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.2755, allocations: 0.9436 MB / 443.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.277e-05/0.2756, allocations: 12.94 kB / 443.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/0.2756, allocations: 43.55 kB / 443.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.806e-06/0.2756, allocations: 0 / 443.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007324/0.283, allocations: 4.173 MB / 447.5 MB, free: 9.887 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.283, allocations: 64.41 kB / 447.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009914/0.284, allocations: 0.8678 MB / 448.4 MB, free: 8.938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/0.2841, allocations: 41.7 kB / 448.5 MB, free: 8.891 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004546/0.2846, allocations: 0.8217 MB / 449.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.2848, allocations: 327.3 kB / 449.6 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.285, allocations: 182.5 kB / 449.8 MB, free: 7.547 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2852, allocations: 345.9 kB / 450.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007338/0.2859, allocations: 0.4899 MB / 450.6 MB, free: 6.711 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.2867, allocations: 0.6772 MB / 451.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.2883, allocations: 1.205 MB / 452.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2884, allocations: 0 / 452.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002509/0.2909, allocations: 1.624 MB / 454.1 MB, free: 3.055 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.2909, allocations: 8 kB / 454.1 MB, free: 3.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.2909, allocations: 11.98 kB / 454.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.292, allocations: 470.9 kB / 454.6 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.2927, allocations: 171.7 kB / 454.8 MB, free: 2.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008459/0.3011, allocations: 9.273 MB / 464 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.3016, allocations: 43.95 kB / 464.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.3017, allocations: 43.88 kB / 464.1 MB, free: 8.477 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.0008561/0.3026, allocations: 0.6419 MB / 464.8 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.3028, allocations: 94.88 kB / 464.9 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002927/0.3031, allocations: 138 kB / 465 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3031, allocations: 3.984 kB / 465 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3031, allocations: 0 / 465 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004649/0.3036, allocations: 283.8 kB / 465.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.3037, allocations: 19.94 kB / 465.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.3042, allocations: 44.08 kB / 465.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.3043, allocations: 84.88 kB / 465.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003455/0.3078, allocations: 1.812 MB / 467.2 MB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002654/0.3105, allocations: 2.014 MB / 469.2 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007908/0.3113, allocations: 0.5855 MB / 469.8 MB, free: 2.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007113/0.312, allocations: 0.6083 MB / 470.4 MB, free: 2.094 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.312, allocations: 0 / 470.4 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002385/0.3144, allocations: 1.456 MB / 471.9 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of SimCode: time 0.005683/0.3201, allocations: 3.996 MB / 475.9 MB, free: 12.52 MB / 398.1 MB Notification: Performance of Templates: time 0.03288/0.353, allocations: 20.19 MB / 496.1 MB, free: 8.555 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)