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.001306/0.001306, 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.001375/0.001375, 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.509/1.509, allocations: 230.4 MB / 254.7 MB, free: 15.01 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.001943/0.001943, allocations: 75.81 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 53.32 MB / 426.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.2386/0.346, allocations: 10.77 MB / 437.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006726/0.3527, allocations: 3.243 MB / 440.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.355, allocations: 86.34 kB / 441 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.3571, allocations: 0.7465 MB / 441.8 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.3613, allocations: 1.175 MB / 442.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.3628, allocations: 470.9 kB / 443.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008343/0.3711, allocations: 5.142 MB / 448.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005919/0.377, allocations: 3.445 MB / 452 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006772/0.3838, allocations: 2.391 MB / 454.4 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006706/0.3905, allocations: 2.836 MB / 457.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00263/0.3931, allocations: 0.6211 MB / 457.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.3968, allocations: 0.7118 MB / 458.5 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002942/0.3997, allocations: 1.64 MB / 460.2 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006759/0.4065, allocations: 2.773 MB / 463 MB, free: 9.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.4188, allocations: 8.442 MB / 471.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4188, allocations: 0 / 471.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4188, allocations: 2.562 kB / 471.4 MB, free: 2.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002555/0.4191, allocations: 0 / 471.4 MB, free: 2.918 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01496/0.4341, allocations: 5.232 MB / 476.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.4341, allocations: 12.03 kB / 476.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00153/0.4356, allocations: 0.5595 MB / 477.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.4379, allocations: 0.5954 MB / 477.8 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007478/0.4454, allocations: 2.89 MB / 480.7 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.4456, allocations: 291.8 kB / 481 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.4469, allocations: 388 kB / 481.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.4595, allocations: 5.801 MB / 487.2 MB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/0.4595, allocations: 7.875 kB / 487.2 MB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004205/0.4599, allocations: 164 kB / 487.3 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000238/0.4602, allocations: 208 kB / 487.5 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.4702, allocations: 5.02 MB / 492.5 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.5064, allocations: 16.22 MB / 0.4968 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009183/0.5156, allocations: 6.609 MB / 0.5033 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004879/0.5204, allocations: 2.447 MB / 0.5057 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000511/0.521, allocations: 143.1 kB / 0.5058 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.5211, allocations: 68.48 kB / 0.5059 GB, free: 4.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 6.432e-06/0.5211, allocations: 0 / 0.5059 GB, free: 4.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02727/0.5484, allocations: 10.73 MB / 0.5164 GB, free: 9.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.22e-05/0.5484, allocations: 81.42 kB / 0.5164 GB, free: 9.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006117/0.5546, allocations: 2.636 MB / 0.519 GB, free: 6.863 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004993/0.5551, allocations: 65.7 kB / 0.5191 GB, free: 6.793 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.5568, allocations: 1.687 MB / 0.5207 GB, free: 5.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/0.5582, allocations: 0.883 MB / 0.5216 GB, free: 4.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.5597, allocations: 412.7 kB / 0.522 GB, free: 3.789 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5598, allocations: 305.1 kB / 0.5223 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.5624, allocations: 1.34 MB / 0.5236 GB, free: 2.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002945/0.5654, allocations: 1.65 MB / 0.5252 GB, free: 408 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005626/0.571, allocations: 3.087 MB / 0.5282 GB, free: 13.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/0.571, allocations: 0 / 0.5282 GB, free: 13.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00947/0.5805, allocations: 4.435 MB / 0.5325 GB, free: 8.672 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.5805, allocations: 10.34 kB / 0.5326 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.5806, allocations: 4 kB / 0.5326 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005681/0.5862, allocations: 1.655 MB / 0.5342 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.588, allocations: 387.5 kB / 0.5345 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03185/0.6198, allocations: 25.76 MB / 0.5597 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/0.6225, allocations: 87.94 kB / 0.5598 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006312/0.6232, allocations: 79.98 kB / 0.5599 GB, free: 11.29 MB / 478.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.003881/0.6271, allocations: 1.407 MB / 0.5612 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001379/0.6284, allocations: 310.1 kB / 0.5615 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009808/0.6382, allocations: 4.341 MB / 0.5658 GB, free: 5.129 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.6383, allocations: 24 kB / 0.5658 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/0.6383, allocations: 11.98 kB / 0.5658 GB, free: 5.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.832e-05/0.6383, allocations: 11.95 kB / 0.5658 GB, free: 5.082 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/0.6594, allocations: 8.746 MB / 0.5743 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.6594, allocations: 0 / 0.5743 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.6606, allocations: 291.6 kB / 0.5746 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005568/0.6662, allocations: 1.612 MB / 0.5762 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003464/0.6665, allocations: 63.97 kB / 0.5763 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03034/0.6969, allocations: 25.51 MB / 0.6012 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6969, allocations: 0 / 0.6012 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.7086, allocations: 6.08 MB / 0.6071 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/0.711, allocations: 0.6865 MB / 0.6078 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/0.712, allocations: 60.05 kB / 0.6078 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.7141, allocations: 119.9 kB / 0.608 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006312/0.7148, allocations: 217.6 kB / 0.6082 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/0.715, allocations: 63.98 kB / 0.6082 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004119/0.7191, allocations: 1.856 MB / 0.61 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7191, allocations: 0 / 0.61 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005605/0.7247, allocations: 0.9492 MB / 0.611 GB, free: 5.172 MB / 0.5137 GB 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.2378/0.9625, allocations: 6.762 MB / 0.6176 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006888/0.9694, allocations: 4.767 MB / 0.6222 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9694, allocations: 1.156 kB / 0.6222 GB, free: 159.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004677/0.9741, allocations: 3.279 MB / 0.6254 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004526/0.9786, allocations: 0.9591 MB / 0.6264 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05144/1.03, allocations: 31.94 MB / 0.6575 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/1.033, allocations: 3.177 MB / 0.6607 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002049/1.035, allocations: 0.5816 MB / 0.6612 GB, free: 141.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001721/1.037, allocations: 1.468 MB / 0.6627 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.343e-06/1.037, allocations: 0 / 0.6627 GB, free: 139.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1609/1.198, allocations: 91.82 MB / 0.7523 GB, free: 49.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.36/19.55, allocations: 5.328 kB / 0.7523 GB, free: 49.16 MB / 0.5137 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 --stepSize=0.0001 --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: 22.13951636478305] 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.698994600679725 19.707908182 19.286714578 Calling exit ...