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.Rectifier12pulse.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.001824/0.001824, 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.002244/0.002244, allocations: 220.6 kB / 23 MB, free: 5.605 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.432/1.432, allocations: 230.5 MB / 256.5 MB, free: 8.441 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.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",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.002185/0.002185, allocations: 68.06 kB / 376.3 MB, free: 4.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.301, allocations: 53.31 MB / 429.6 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01405/0.3151, allocations: 10.8 MB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00745/0.3225, allocations: 3.248 MB / 443.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002352/0.3249, allocations: 83.62 kB / 443.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.3274, allocations: 0.7527 MB / 444.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.3327, allocations: 1.177 MB / 445.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3345, allocations: 467.4 kB / 446.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007541/0.3421, allocations: 5.151 MB / 451.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.3463, allocations: 2.495 MB / 453.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/0.3512, allocations: 2.407 MB / 456.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004632/0.3558, allocations: 2.833 MB / 459 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.357, allocations: 0.6211 MB / 459.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.3585, allocations: 0.7069 MB / 460.3 MB, free: 8.535 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001638/0.3602, allocations: 1.644 MB / 461.9 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005238/0.3654, allocations: 2.77 MB / 464.7 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01077/0.3762, allocations: 8.444 MB / 473.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3762, allocations: 8 kB / 473.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3762, allocations: 4 kB / 473.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002313/0.3764, allocations: 0 / 473.2 MB, free: 11.62 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01215/0.3886, allocations: 5.223 MB / 478.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3886, allocations: 16.03 kB / 478.4 MB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001031/0.3896, allocations: 0.5634 MB / 479 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.3914, allocations: 0.5954 MB / 479.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005599/0.397, allocations: 2.886 MB / 482.4 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.3972, allocations: 291.8 kB / 482.7 MB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008073/0.398, allocations: 384 kB / 483.1 MB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/0.4089, allocations: 5.809 MB / 488.9 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.086e-05/0.409, allocations: 3.938 kB / 488.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003684/0.4094, allocations: 160 kB / 489.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002402/0.4096, allocations: 212 kB / 489.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009227/0.4188, allocations: 5.016 MB / 494.3 MB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02805/0.4469, allocations: 16.23 MB / 0.4986 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007745/0.4546, allocations: 6.61 MB / 0.505 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/0.4586, allocations: 2.45 MB / 0.5074 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.4589, allocations: 139 kB / 0.5075 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.459, allocations: 68.5 kB / 0.5076 GB, free: 11.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.459, allocations: 3.938 kB / 0.5076 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02085/0.4799, allocations: 10.72 MB / 0.5181 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.4799, allocations: 77.42 kB / 0.5182 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004286/0.4842, allocations: 2.632 MB / 0.5207 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003786/0.4846, allocations: 73.7 kB / 0.5208 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001468/0.4861, allocations: 1.687 MB / 0.5224 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.4871, allocations: 0.8792 MB / 0.5233 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007051/0.4878, allocations: 408.7 kB / 0.5237 GB, free: 11.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.488, allocations: 309.1 kB / 0.524 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.4902, allocations: 1.344 MB / 0.5253 GB, free: 9.418 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/0.4927, allocations: 1.65 MB / 0.5269 GB, free: 7.672 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.4974, allocations: 3.079 MB / 0.5299 GB, free: 4.469 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4974, allocations: 0 / 0.5299 GB, free: 4.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.2262/0.7237, allocations: 4.427 MB / 0.5342 GB, free: 98.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.7237, allocations: 12.16 kB / 0.5343 GB, free: 98.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.7237, allocations: 6.156 kB / 0.5343 GB, free: 98.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006174/0.7299, allocations: 1.649 MB / 0.5359 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.7316, allocations: 388.5 kB / 0.5362 GB, free: 98.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.7508, allocations: 25.75 MB / 0.5614 GB, free: 78.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.7526, allocations: 98.5 kB / 0.5615 GB, free: 78.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.7528, allocations: 76.12 kB / 0.5616 GB, free: 78.72 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001878/0.7546, allocations: 1.405 MB / 0.5629 GB, free: 78.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/0.7552, allocations: 308.4 kB / 0.5632 GB, free: 78.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005832/0.761, allocations: 4.354 MB / 0.5675 GB, free: 75.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.761, allocations: 26.94 kB / 0.5675 GB, free: 75.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.761, allocations: 7.562 kB / 0.5675 GB, free: 75.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.7611, allocations: 11.95 kB / 0.5675 GB, free: 75.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.7717, allocations: 8.739 MB / 0.5761 GB, free: 66.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.7717, allocations: 0 / 0.5761 GB, free: 66.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.7727, allocations: 291.6 kB / 0.5763 GB, free: 66.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004164/0.7769, allocations: 1.618 MB / 0.5779 GB, free: 64.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.777, allocations: 55.98 kB / 0.578 GB, free: 64.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01764/0.7946, allocations: 25.5 MB / 0.6029 GB, free: 38.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7946, allocations: 4 kB / 0.6029 GB, free: 38.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007495/0.8021, allocations: 6.071 MB / 0.6088 GB, free: 31.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/0.8037, allocations: 0.6865 MB / 0.6095 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/0.8041, allocations: 59.98 kB / 0.6095 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.8054, allocations: 119.9 kB / 0.6096 GB, free: 31.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004961/0.8059, allocations: 217.6 kB / 0.6098 GB, free: 30.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.806, allocations: 63.98 kB / 0.6099 GB, free: 30.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002185/0.8082, allocations: 1.848 MB / 0.6117 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.8082, allocations: 0 / 0.6117 GB, free: 28.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003082/0.8113, allocations: 0.9589 MB / 0.6127 GB, free: 28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007389/0.8186, allocations: 6.773 MB / 0.6193 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005657/0.8243, allocations: 4.769 MB / 0.6239 GB, free: 16.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.8243, allocations: 4 kB / 0.6239 GB, free: 16.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003804/0.8281, allocations: 3.268 MB / 0.6271 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/0.8318, allocations: 0.96 MB / 0.6281 GB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04858/0.8804, allocations: 32 MB / 0.6593 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003604/0.884, allocations: 3.181 MB / 0.6624 GB, free: 8.184 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001828/0.8858, allocations: 0.5792 MB / 0.663 GB, free: 7.598 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/0.8878, allocations: 1.468 MB / 0.6644 GB, free: 6.129 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8878, allocations: 0 / 0.6644 GB, free: 6.129 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4017/1.289, allocations: 92.23 MB / 0.7545 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.07/19.36, allocations: 0.8594 kB / 0.7545 GB, free: 177.6 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.848754677019315] 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', 'transformer2.l2sigma.inductor[1].i', 'transformer2.l2sigma.inductor[2].i', 'transformer2.l2sigma.inductor[3].i'] 19.51375200197799 19.534537766 19.153658272 Calling exit ...