Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0008981/0.0008981, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001358/0.001358, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8853/0.8853, allocations: 177 MB / 204.1 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.643e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009023/0.009039, allocations: 9.449 MB / 334 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.01458, allocations: 3.166 MB / 337.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.01601, allocations: 115.2 kB / 337.3 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001423/0.01743, allocations: 0.7331 MB / 338 MB, free: 2.359 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.01969, allocations: 1.25 MB / 339.3 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007097/0.0204, allocations: 491.3 kB / 339.7 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003476/0.02388, allocations: 5.394 MB / 345.1 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.02613, allocations: 2.433 MB / 347.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.02961, allocations: 3.598 MB / 351.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.03182, allocations: 2.537 MB / 353.7 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004683/0.03229, allocations: 0.6211 MB / 354.3 MB, free: 1.941 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006964/0.03299, allocations: 0.7108 MB / 355 MB, free: 1.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008482/0.03384, allocations: 1.714 MB / 356.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.03515, allocations: 1.937 MB / 358.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004672/0.03983, allocations: 8.617 MB / 367.3 MB, free: 4.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.03983, allocations: 3.938 kB / 367.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.03983, allocations: 0 / 367.3 MB, free: 4.926 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.918e-05/0.03989, allocations: 0 / 367.3 MB, free: 4.926 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.006275/0.04617, allocations: 5.14 MB / 372.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.04621, allocations: 11.98 kB / 372.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005688/0.04678, allocations: 0.5638 MB / 373 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/0.04781, allocations: 0.6031 MB / 373.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.05091, allocations: 2.833 MB / 376.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.05104, allocations: 296.2 kB / 376.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000392/0.05144, allocations: 396.3 kB / 377.1 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006134/0.05757, allocations: 6.187 MB / 383.3 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.896e-05/0.05762, allocations: 7.938 kB / 383.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/0.05787, allocations: 156 kB / 383.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.05802, allocations: 228.1 kB / 383.7 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005361/0.06338, allocations: 5.048 MB / 388.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0156/0.07898, allocations: 14.83 MB / 403.6 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003939/0.08292, allocations: 3.905 MB / 407.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002528/0.08544, allocations: 2.451 MB / 409.9 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002041/0.08565, allocations: 57.97 kB / 410 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.08569, allocations: 60.56 kB / 410.1 MB, free: 9.664 MB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 4.178e-06/0.08569, allocations: 4 kB / 410.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.01249/0.09818, allocations: 10.05 MB / 420.1 MB, free: 15.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.09823, allocations: 81.36 kB / 420.2 MB, free: 15.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.1009, allocations: 2.652 MB / 422.8 MB, free: 12.76 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/0.101, allocations: 73.7 kB / 422.9 MB, free: 12.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007869/0.1018, allocations: 1.687 MB / 424.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004417/0.1022, allocations: 0.8753 MB / 425.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004105/0.1027, allocations: 412.7 kB / 425.9 MB, free: 9.684 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.632e-05/0.1027, allocations: 301.1 kB / 426.2 MB, free: 9.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.104, allocations: 1.336 MB / 427.5 MB, free: 8.047 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.1054, allocations: 1.654 MB / 429.2 MB, free: 6.293 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.1082, allocations: 3.079 MB / 432.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.1082, allocations: 4 kB / 432.2 MB, free: 3.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004447/0.1127, allocations: 4.435 MB / 436.7 MB, free: 14.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1127, allocations: 8 kB / 436.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1127, allocations: 4 kB / 436.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002588/0.1153, allocations: 1.643 MB / 438.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.1161, allocations: 399.2 kB / 438.7 MB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1594/0.2755, allocations: 24.45 MB / 463.2 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.2772, allocations: 100.8 kB / 463.3 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001943/0.2774, allocations: 71.95 kB / 463.3 MB, free: 102.3 MB / 410.7 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.001996/0.2794, allocations: 1.426 MB / 464.8 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/0.2798, allocations: 312 kB / 465.1 MB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004455/0.2843, allocations: 4.343 MB / 469.4 MB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2843, allocations: 22.81 kB / 469.4 MB, free: 99.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.2843, allocations: 14.88 kB / 469.5 MB, free: 99.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.2843, allocations: 14.84 kB / 469.5 MB, free: 99.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008799/0.2931, allocations: 8.277 MB / 477.7 MB, free: 92.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.2931, allocations: 0 / 477.7 MB, free: 92.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006292/0.2937, allocations: 287.3 kB / 478 MB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/0.2962, allocations: 1.623 MB / 479.6 MB, free: 90.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/0.2964, allocations: 63.86 kB / 479.7 MB, free: 90.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01161/0.308, allocations: 24.23 MB / 0.4921 GB, free: 65.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.308, allocations: 64 / 0.4921 GB, free: 65.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005517/0.3135, allocations: 6.071 MB / 0.4981 GB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/0.3147, allocations: 0.6248 MB / 0.4987 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.3149, allocations: 55.98 kB / 0.4987 GB, free: 59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.3156, allocations: 123.9 kB / 0.4988 GB, free: 58.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003581/0.316, allocations: 221.5 kB / 0.4991 GB, free: 58.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.62e-05/0.3161, allocations: 63.98 kB / 0.4991 GB, free: 58.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001687/0.3178, allocations: 1.86 MB / 0.5009 GB, free: 56.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3178, allocations: 0 / 0.5009 GB, free: 56.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002779/0.3206, allocations: 0.9572 MB / 0.5019 GB, free: 55.77 MB / 410.7 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.005672/0.3262, allocations: 6.786 MB / 0.5085 GB, free: 48.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.3303, allocations: 4.75 MB / 0.5131 GB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.3304, allocations: 1.562 kB / 0.5131 GB, free: 43.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.333, allocations: 3.275 MB / 0.5163 GB, free: 40.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/0.3356, allocations: 0.9608 MB / 0.5173 GB, free: 39.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0393/0.3749, allocations: 32.15 MB / 0.5487 GB, free: 7.039 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001853/0.3768, allocations: 2.662 MB / 0.5513 GB, free: 4.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001269/0.378, allocations: 0.5714 MB / 0.5518 GB, free: 3.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/0.3793, allocations: 1.484 MB / 0.5533 GB, free: 2.277 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/0.3793, allocations: 0 / 0.5533 GB, free: 2.277 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.6282, allocations: 94.67 MB / 0.6457 GB, free: 144.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.57, allocations: 11.59 kB / 0.6457 GB, free: 144.8 MB / 474.7 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.376106807030737] 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'] 11.709116926416755 11.715352452 11.673729853 Calling exit ...