Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001384/0.001384, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 258.3 MB, free: 8.078 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 68.7 kB / 378.6 MB, free: 3.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2557, allocations: 53.37 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008471/0.2641, allocations: 6.944 MB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004714/0.2689, allocations: 2.348 MB / 441.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008688/0.2697, allocations: 63.56 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.2708, allocations: 464.9 kB / 441.7 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001747/0.2726, allocations: 0.6914 MB / 442.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005364/0.2731, allocations: 275.7 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003149/0.2763, allocations: 2.859 MB / 445.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.2781, allocations: 1.364 MB / 446.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.2808, allocations: 1.362 MB / 448.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002892/0.2837, allocations: 1.565 MB / 449.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008581/0.2845, allocations: 355.9 kB / 450.2 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.2858, allocations: 447.8 kB / 450.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009668/0.2868, allocations: 0.896 MB / 451.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.2888, allocations: 1.533 MB / 453.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.2944, allocations: 4.642 MB / 457.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2944, allocations: 0 / 457.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2944, allocations: 0 / 457.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.2945, allocations: 0 / 457.7 MB, free: 13.01 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006373/0.3009, allocations: 2.971 MB / 460.7 MB, free: 9.988 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3009, allocations: 12.03 kB / 460.7 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004389/0.3014, allocations: 320.9 kB / 461 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.3024, allocations: 355.1 kB / 461.4 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/0.3062, allocations: 1.619 MB / 463 MB, free: 7.641 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.3063, allocations: 164.3 kB / 463.1 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/0.3067, allocations: 220 kB / 463.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005584/0.3123, allocations: 3.171 MB / 466.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.3123, allocations: 3.938 kB / 466.5 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/0.3126, allocations: 99.98 kB / 466.6 MB, free: 3.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.3127, allocations: 108.4 kB / 466.7 MB, free: 3.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004825/0.3175, allocations: 2.73 MB / 469.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/0.3318, allocations: 8.691 MB / 478.1 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/0.3348, allocations: 1.942 MB / 480.1 MB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.3367, allocations: 1.234 MB / 481.3 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002156/0.3369, allocations: 49.27 kB / 481.4 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.3369, allocations: 47.88 kB / 481.4 MB, free: 4.926 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.286e-06/0.3369, allocations: 0 / 481.4 MB, free: 4.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01122/0.3482, allocations: 5.314 MB / 486.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.3482, allocations: 64.72 kB / 486.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002402/0.3506, allocations: 1.502 MB / 488.3 MB, free: 13.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.3507, allocations: 49.7 kB / 488.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008345/0.3516, allocations: 0.9628 MB / 489.3 MB, free: 12.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.352, allocations: 471.9 kB / 489.8 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.3523, allocations: 218.9 kB / 490 MB, free: 12.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3525, allocations: 353.9 kB / 490.3 MB, free: 11.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.3536, allocations: 0.6896 MB / 491 MB, free: 11.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.3549, allocations: 0.8668 MB / 491.9 MB, free: 10.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.3572, allocations: 1.604 MB / 493.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3572, allocations: 0 / 493.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004023/0.3613, allocations: 2.303 MB / 495.8 MB, free: 6.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3613, allocations: 4 kB / 495.8 MB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.3613, allocations: 4 kB / 495.8 MB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.364, allocations: 0.8189 MB / 496.6 MB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008207/0.3648, allocations: 203.7 kB / 496.8 MB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/0.3777, allocations: 11.08 MB / 0.496 GB, free: 9.766 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3787, allocations: 47.97 kB / 0.496 GB, free: 9.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.3787, allocations: 36.12 kB / 0.4961 GB, free: 9.684 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * 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 {(2,29,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.001352/0.3801, allocations: 0.8313 MB / 0.4969 GB, free: 8.844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.3804, allocations: 174.9 kB / 0.497 GB, free: 8.672 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00391/0.3843, allocations: 2.257 MB / 0.4993 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.3843, allocations: 12 kB / 0.4993 GB, free: 6.379 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3843, allocations: 4 kB / 0.4993 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3844, allocations: 7.984 kB / 0.4993 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007734/0.3921, allocations: 4.675 MB / 0.5038 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.3921, allocations: 4 kB / 0.5038 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/0.3928, allocations: 163.9 kB / 0.504 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002595/0.3954, allocations: 0.808 MB / 0.5048 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/0.3955, allocations: 31.98 kB / 0.5048 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.4084, allocations: 10.96 MB / 0.5155 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.4084, allocations: 3.938 kB / 0.5155 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005421/0.4139, allocations: 3.224 MB / 0.5187 GB, free: 1.895 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009733/0.4148, allocations: 346.9 kB / 0.519 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/0.415, allocations: 28 kB / 0.519 GB, free: 1.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007275/0.4158, allocations: 64 kB / 0.5191 GB, free: 1.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.4161, allocations: 129 kB / 0.5192 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.508e-05/0.4162, allocations: 40 kB / 0.5193 GB, free: 1.297 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001641/0.4178, allocations: 1.064 MB / 0.5203 GB, free: 236 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4178, allocations: 0 / 0.5203 GB, free: 236 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001925/0.4197, allocations: 0.5117 MB / 0.5208 GB, free: 15.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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 {(2,29,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.005848/0.4256, allocations: 3.876 MB / 0.5246 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004076/0.4296, allocations: 2.357 MB / 0.5269 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4296, allocations: 0 / 0.5269 GB, free: 9.387 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002534/0.4322, allocations: 1.582 MB / 0.5284 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.4344, allocations: 0.4996 MB / 0.5289 GB, free: 7.266 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2264/0.6608, allocations: 17.67 MB / 0.5462 GB, free: 97.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.6621, allocations: 2.043 MB / 0.5482 GB, free: 96.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008423/0.663, allocations: 311.3 kB / 0.5485 GB, free: 96.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007346/0.6637, allocations: 0.7794 MB / 0.5492 GB, free: 96.22 MB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.6637, allocations: 0 / 0.5492 GB, free: 96.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/0.7926, allocations: 51.98 MB / 0.6 GB, free: 47.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.17, allocations: 11.86 kB / 0.6 GB, free: 47.19 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.500993898138404] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'transformer1.l2sigma.inductor[1].i', 'transformer1.l2sigma.inductor[3].i'] 16.2916140248999 16.301733638 16.005083879 Calling exit ...