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.001304/0.001304, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.00148/0.00148, allocations: 216.3 kB / 23 MB, free: 5.609 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.434/1.434, allocations: 230.5 MB / 256.5 MB, free: 8.406 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.001909/0.001909, allocations: 67.83 kB / 376.2 MB, free: 4.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2985, allocations: 53.32 MB / 429.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009064/0.3076, allocations: 6.944 MB / 436.5 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004913/0.3125, allocations: 2.341 MB / 438.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009564/0.3134, allocations: 51.75 kB / 438.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.3147, allocations: 468.9 kB / 439.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.3168, allocations: 0.6759 MB / 440 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.3174, allocations: 283.6 kB / 440.3 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00357/0.321, allocations: 2.844 MB / 443.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.3229, allocations: 1.371 MB / 444.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002658/0.3255, allocations: 1.338 MB / 445.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002434/0.328, allocations: 1.561 MB / 447.4 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005188/0.3285, allocations: 348 kB / 447.7 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.3295, allocations: 451.8 kB / 448.2 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009615/0.3305, allocations: 0.896 MB / 449.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002186/0.3327, allocations: 1.533 MB / 450.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006032/0.3387, allocations: 4.638 MB / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3387, allocations: 0 / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3387, allocations: 0 / 455.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.3389, allocations: 0 / 455.2 MB, free: 13.59 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.006513/0.3454, allocations: 3.046 MB / 458.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3454, allocations: 12.03 kB / 458.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004905/0.3459, allocations: 328.9 kB / 458.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.347, allocations: 351.1 kB / 459 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.3498, allocations: 1.671 MB / 460.6 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.35, allocations: 160.4 kB / 460.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.3503, allocations: 219.9 kB / 461 MB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005479/0.3558, allocations: 3.178 MB / 464.2 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.121e-05/0.3558, allocations: 7.984 kB / 464.2 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.356, allocations: 91.98 kB / 464.3 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.3562, allocations: 120.4 kB / 464.4 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.361, allocations: 2.723 MB / 467.1 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01509/0.3761, allocations: 8.782 MB / 475.9 MB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.38, allocations: 3.286 MB / 479.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.382, allocations: 1.241 MB / 480.4 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002757/0.3823, allocations: 122.4 kB / 480.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.968e-05/0.3823, allocations: 47.88 kB / 480.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.146e-06/0.3823, allocations: 0 / 480.6 MB, free: 3.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01156/0.3939, allocations: 5.766 MB / 486.4 MB, free: 13.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.394, allocations: 68.7 kB / 486.4 MB, free: 13.48 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002533/0.3965, allocations: 1.499 MB / 487.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.3966, allocations: 53.7 kB / 488 MB, free: 11.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008286/0.3974, allocations: 0.9666 MB / 489 MB, free: 10.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003959/0.3978, allocations: 460 kB / 489.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.3982, allocations: 226.8 kB / 489.6 MB, free: 10.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002697/0.3985, allocations: 357.9 kB / 490 MB, free: 9.895 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.3996, allocations: 0.6896 MB / 490.7 MB, free: 9.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.4009, allocations: 0.8707 MB / 491.5 MB, free: 8.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002356/0.4033, allocations: 1.601 MB / 493.1 MB, free: 6.641 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4033, allocations: 0 / 493.1 MB, free: 6.641 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004115/0.4074, allocations: 2.299 MB / 495.4 MB, free: 4.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.4074, allocations: 11.98 kB / 495.4 MB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4074, allocations: 4 kB / 495.4 MB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.4103, allocations: 0.8111 MB / 496.3 MB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.4112, allocations: 211.7 kB / 496.5 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.4248, allocations: 11.49 MB / 0.496 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.4259, allocations: 47.97 kB / 0.4961 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.426, allocations: 43.98 kB / 0.4961 GB, free: 7.137 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.001372/0.4274, allocations: 0.8136 MB / 0.4969 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003804/0.4278, allocations: 171 kB / 0.4971 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004252/0.432, allocations: 2.261 MB / 0.4993 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.432, allocations: 12 kB / 0.4993 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.432, allocations: 4 kB / 0.4993 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4321, allocations: 11.97 kB / 0.4993 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009073/0.4411, allocations: 4.688 MB / 0.5039 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/0.4411, allocations: 0 / 0.5039 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/0.4418, allocations: 159.9 kB / 0.5041 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002712/0.4446, allocations: 0.8155 MB / 0.5049 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.4447, allocations: 31.98 kB / 0.5049 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.459, allocations: 11.39 MB / 0.516 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.459, allocations: 3.938 kB / 0.516 GB, free: 2.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005855/0.4649, allocations: 3.213 MB / 0.5192 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.4659, allocations: 416 kB / 0.5195 GB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/0.4663, allocations: 28 kB / 0.5196 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000981/0.4672, allocations: 63.94 kB / 0.5196 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/0.4676, allocations: 121 kB / 0.5198 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.4677, allocations: 36 kB / 0.5198 GB, free: 14.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001958/0.4697, allocations: 1.064 MB / 0.5208 GB, free: 13.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4697, allocations: 0 / 0.5208 GB, free: 13.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002027/0.4717, allocations: 0.5156 MB / 0.5213 GB, free: 12.57 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.006306/0.478, allocations: 3.883 MB / 0.5251 GB, free: 8.641 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004492/0.4825, allocations: 2.353 MB / 0.5274 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4825, allocations: 0 / 0.5274 GB, free: 6.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.4852, allocations: 1.582 MB / 0.529 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/0.4883, allocations: 0.51 MB / 0.5295 GB, free: 4.098 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/0.5218, allocations: 17.66 MB / 0.5467 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/0.5243, allocations: 2.043 MB / 0.5487 GB, free: 48 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.2213/0.7456, allocations: 303.9 kB / 0.549 GB, free: 115.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.7468, allocations: 0.7797 MB / 0.5498 GB, free: 115.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.493e-06/0.7468, allocations: 0.6875 kB / 0.5498 GB, free: 115.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.8631, allocations: 51.12 MB / 0.5997 GB, free: 75.36 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.97, allocations: 0 / 0.5997 GB, free: 75.36 MB / 462.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 --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.338315327011514] 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.09152336002444 16.101678516 15.760387714 Calling exit ...