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: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001715/0.001715, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002004/0.002004, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2801, allocations: 50.53 MB / 408.7 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006844/0.287, allocations: 6.252 MB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.2902, allocations: 1.69 MB / 416.7 MB, free: 9.543 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005365/0.2907, allocations: 43.88 kB / 416.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005871/0.2914, allocations: 309.5 kB / 417 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.2925, allocations: 425.2 kB / 417.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.2931, allocations: 355.5 kB / 417.8 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002043/0.2952, allocations: 2.137 MB / 419.9 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/0.2982, allocations: 2.445 MB / 422.4 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/0.2999, allocations: 1.044 MB / 423.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001536/0.3015, allocations: 1.214 MB / 424.6 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.3018, allocations: 292 kB / 424.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000606/0.3024, allocations: 407.7 kB / 425.3 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005856/0.303, allocations: 0.7013 MB / 426 MB, free: 124 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.3043, allocations: 1.241 MB / 427.3 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003594/0.3079, allocations: 3.635 MB / 430.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.3079, allocations: 0 / 430.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.937e-06/0.3079, allocations: 7.984 kB / 430.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.66e-05/0.308, allocations: 0 / 430.9 MB, free: 11.22 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.005252/0.3133, allocations: 2.532 MB / 433.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3133, allocations: 12.03 kB / 433.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003784/0.3137, allocations: 295.7 kB / 433.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006935/0.3144, allocations: 267.4 kB / 434 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/0.3167, allocations: 1.315 MB / 435.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3169, allocations: 160.5 kB / 435.5 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.3172, allocations: 207.9 kB / 435.7 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.3215, allocations: 2.618 MB / 438.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.9e-05/0.3216, allocations: 0 / 438.3 MB, free: 3.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.3218, allocations: 87.98 kB / 438.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.3218, allocations: 52 kB / 438.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/0.3253, allocations: 2.085 MB / 440.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.3363, allocations: 7.309 MB / 447.8 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3385, allocations: 2.348 MB / 450.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.3399, allocations: 0.9512 MB / 451.1 MB, free: 6.352 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.493e-05/0.34, allocations: 13 kB / 451.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.3401, allocations: 43.56 kB / 451.2 MB, free: 6.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.466e-06/0.3401, allocations: 0 / 451.2 MB, free: 6.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007713/0.3478, allocations: 4.211 MB / 455.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.3479, allocations: 68.34 kB / 455.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.3494, allocations: 0.8681 MB / 456.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.3495, allocations: 41.7 kB / 456.4 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005937/0.3501, allocations: 0.8475 MB / 457.2 MB, free: 92 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.3504, allocations: 341.1 kB / 457.5 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.3507, allocations: 182.5 kB / 457.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3508, allocations: 349.9 kB / 458.1 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/0.3516, allocations: 0.4898 MB / 458.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/0.3525, allocations: 0.669 MB / 459.2 MB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.3541, allocations: 1.205 MB / 460.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3541, allocations: 0 / 460.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00257/0.3567, allocations: 1.632 MB / 462.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.3567, allocations: 8 kB / 462.1 MB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.3568, allocations: 7.938 kB / 462.1 MB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3578, allocations: 466.9 kB / 462.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.3585, allocations: 171.7 kB / 462.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008609/0.3671, allocations: 9.298 MB / 472 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.3677, allocations: 59.88 kB / 472.1 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.3678, allocations: 32 kB / 472.1 MB, free: 492 kB / 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.001026/0.3689, allocations: 0.6496 MB / 472.7 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.3691, allocations: 107.3 kB / 472.8 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.3694, allocations: 134.1 kB / 473 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/0.3694, allocations: 12 kB / 473 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.3694, allocations: 0 / 473 MB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3695, allocations: 11.92 kB / 473 MB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005797/0.3753, allocations: 3.481 MB / 476.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3753, allocations: 0 / 476.5 MB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.3758, allocations: 119.9 kB / 476.6 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009133/0.3768, allocations: 459.4 kB / 477 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.468e-05/0.3768, allocations: 23.97 kB / 477.1 MB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00832/0.3852, allocations: 9.211 MB / 486.3 MB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3852, allocations: 4.031 kB / 486.3 MB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.3886, allocations: 2.309 MB / 488.6 MB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007258/0.3893, allocations: 288.4 kB / 488.9 MB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.3896, allocations: 20 kB / 488.9 MB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.3901, allocations: 43.89 kB / 488.9 MB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/0.3903, allocations: 84.88 kB / 489 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.3904, allocations: 23.98 kB / 489 MB, free: 14.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009994/0.3914, allocations: 0.6161 MB / 489.7 MB, free: 14.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3914, allocations: 0 / 489.7 MB, free: 14.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001656/0.3931, allocations: 380 kB / 490 MB, free: 13.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * 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 Backend phase and start with SimCode phase: time 0.003886/0.397, allocations: 2.904 MB / 492.9 MB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.3997, allocations: 1.826 MB / 494.8 MB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3997, allocations: 5.688 kB / 494.8 MB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.4013, allocations: 1.246 MB / 496 MB, free: 7.691 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.4028, allocations: 306 kB / 496.3 MB, free: 7.391 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01817/0.4209, allocations: 12.2 MB / 0.4966 GB, free: 10.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001539/0.4225, allocations: 1.718 MB / 0.4983 GB, free: 9.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005217/0.4231, allocations: 192.9 kB / 0.4985 GB, free: 8.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007715/0.4238, allocations: 0.6165 MB / 0.4991 GB, free: 8.352 MB / 430.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4239, allocations: 0 / 0.4991 GB, free: 8.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07183/0.4957, allocations: 33.66 MB / 0.5319 GB, free: 7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.1, allocations: 4.062 kB / 0.5319 GB, free: 6.996 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1)