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.001575/0.001575, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001758/0.001758, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.417/1.417, allocations: 230.4 MB / 254.7 MB, free: 15.22 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.001951/0.001951, allocations: 63.84 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1058, allocations: 53.31 MB / 426.9 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.2156/0.3214, allocations: 6.912 MB / 433.8 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.3252, allocations: 2.34 MB / 436.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00092/0.3261, allocations: 49.5 kB / 436.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.3272, allocations: 465 kB / 436.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.329, allocations: 0.6823 MB / 437.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.3297, allocations: 277.1 kB / 437.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003353/0.333, allocations: 2.839 MB / 440.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002301/0.3353, allocations: 1.875 MB / 442.3 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.3383, allocations: 1.321 MB / 443.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.3409, allocations: 1.568 MB / 445.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006891/0.3416, allocations: 352.6 kB / 445.5 MB, free: 3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.3428, allocations: 439 kB / 446 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007963/0.3436, allocations: 0.9039 MB / 446.9 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.3461, allocations: 1.534 MB / 448.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00563/0.3517, allocations: 4.634 MB / 453 MB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.3517, allocations: 7.938 kB / 453.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3517, allocations: 0 / 453.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001595/0.3519, allocations: 0 / 453.1 MB, free: 15.67 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.00833/0.3602, allocations: 3.04 MB / 456.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3603, allocations: 13.56 kB / 456.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006729/0.3609, allocations: 337.6 kB / 456.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.3622, allocations: 350.8 kB / 456.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.3663, allocations: 1.668 MB / 458.4 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.3664, allocations: 168.5 kB / 458.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004063/0.3668, allocations: 212.3 kB / 458.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005832/0.3727, allocations: 3.182 MB / 462 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.3727, allocations: 1.094 kB / 462 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.3729, allocations: 90.77 kB / 462.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.373, allocations: 113.4 kB / 462.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004801/0.3778, allocations: 2.73 MB / 464.9 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/0.3937, allocations: 8.786 MB / 473.7 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003697/0.3974, allocations: 3.286 MB / 477 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.3993, allocations: 1.237 MB / 478.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002685/0.3996, allocations: 130.3 kB / 478.4 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.3997, allocations: 47.88 kB / 478.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.739e-06/0.3997, allocations: 3.703 kB / 478.4 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01164/0.4113, allocations: 5.766 MB / 484.2 MB, free: 6.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.4114, allocations: 64.72 kB / 484.2 MB, free: 6.805 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002592/0.414, allocations: 1.499 MB / 485.7 MB, free: 5.285 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002056/0.4142, allocations: 49.7 kB / 485.8 MB, free: 5.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000768/0.4149, allocations: 0.9588 MB / 486.8 MB, free: 4.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004736/0.4154, allocations: 468 kB / 487.2 MB, free: 3.801 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/0.4158, allocations: 226.9 kB / 487.4 MB, free: 3.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.416, allocations: 353.9 kB / 487.8 MB, free: 3.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/0.4171, allocations: 0.6935 MB / 488.5 MB, free: 2.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.4183, allocations: 0.8629 MB / 489.3 MB, free: 1.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.4207, allocations: 1.604 MB / 490.9 MB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.186e-06/0.4207, allocations: 7.938 kB / 490.9 MB, free: 15.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004141/0.4248, allocations: 2.291 MB / 493.2 MB, free: 13.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.4248, allocations: 8.031 kB / 493.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.4248, allocations: 4 kB / 493.2 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.4277, allocations: 0.8266 MB / 494.1 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009368/0.4286, allocations: 203.7 kB / 494.3 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.442, allocations: 11.49 MB / 0.4939 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4432, allocations: 52.03 kB / 0.494 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.4434, allocations: 43.98 kB / 0.494 GB, free: 472 kB / 398.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.00158/0.4449, allocations: 0.818 MB / 0.4948 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004756/0.4454, allocations: 167 kB / 0.495 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/0.4496, allocations: 2.261 MB / 0.4972 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.4497, allocations: 12 kB / 0.4972 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4497, allocations: 4 kB / 0.4972 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/0.4497, allocations: 12.86 kB / 0.4972 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00918/0.4589, allocations: 4.694 MB / 0.5018 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4589, allocations: 0 / 0.5018 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.4595, allocations: 163.9 kB / 0.5019 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002634/0.4622, allocations: 0.8004 MB / 0.5027 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.4623, allocations: 31.98 kB / 0.5027 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/0.4751, allocations: 11.39 MB / 0.5139 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.4751, allocations: 7.969 kB / 0.5139 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/0.4804, allocations: 3.213 MB / 0.517 GB, free: 8.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.4815, allocations: 412 kB / 0.5174 GB, free: 7.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.4818, allocations: 24 kB / 0.5174 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/0.4825, allocations: 71.94 kB / 0.5175 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.4828, allocations: 117.1 kB / 0.5176 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.4829, allocations: 32 kB / 0.5176 GB, free: 7.484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00161/0.4845, allocations: 1.072 MB / 0.5187 GB, free: 6.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4845, allocations: 0 / 0.5187 GB, free: 6.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001886/0.4864, allocations: 0.5117 MB / 0.5192 GB, free: 5.898 MB / 430.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.00565/0.492, allocations: 3.884 MB / 0.523 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003793/0.4958, allocations: 2.354 MB / 0.5253 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4958, allocations: 0 / 0.5253 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002408/0.4982, allocations: 1.578 MB / 0.5268 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/0.5006, allocations: 0.5072 MB / 0.5273 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/0.5307, allocations: 17.63 MB / 0.5445 GB, free: 11.49 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00213/0.5328, allocations: 2.051 MB / 0.5465 GB, free: 9.406 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.5339, allocations: 309.5 kB / 0.5468 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.5351, allocations: 0.7766 MB / 0.5476 GB, free: 8.32 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5351, allocations: 0 / 0.5476 GB, free: 8.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1199/0.6549, allocations: 50.9 MB / 0.5973 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/15.94, allocations: 11.8 kB / 0.5973 GB, free: 5.941 MB / 0.4981 GB " [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.333277201279998] 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.06174827972427 16.077039878 15.72204547 Calling exit ...