Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008472/0.0008472, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000816/0.000816, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9099/0.9099, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0_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_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.306e-05/1.44e-05, allocations: 8.891 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005066/0.00508, allocations: 6.15 MB / 330.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.008468, allocations: 2.224 MB / 333 MB, free: 7.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005257/0.008994, allocations: 63.56 kB / 333 MB, free: 7.453 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.0098, allocations: 456.9 kB / 333.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.01086, allocations: 0.7219 MB / 334.2 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.01121, allocations: 291.5 kB / 334.5 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.01302, allocations: 2.951 MB / 337.4 MB, free: 3.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.01426, allocations: 1.336 MB / 338.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002047/0.01631, allocations: 1.954 MB / 340.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001434/0.01774, allocations: 1.391 MB / 342.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004143/0.01815, allocations: 352 kB / 342.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004852/0.01864, allocations: 435.8 kB / 342.9 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004766/0.01912, allocations: 0.9232 MB / 343.8 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000897/0.02001, allocations: 1.064 MB / 344.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.02276, allocations: 4.71 MB / 349.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.02276, allocations: 0 / 349.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.02276, allocations: 0 / 349.6 MB, free: 6.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.486e-05/0.02285, allocations: 0 / 349.6 MB, free: 6.801 MB / 314.7 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.003622/0.02647, allocations: 2.943 MB / 352.5 MB, free: 3.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.02651, allocations: 8.031 kB / 352.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002909/0.0268, allocations: 332.9 kB / 352.8 MB, free: 3.469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005937/0.0274, allocations: 351.1 kB / 353.2 MB, free: 3.125 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/0.02913, allocations: 1.611 MB / 354.8 MB, free: 1.465 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.0292, allocations: 168.5 kB / 355 MB, free: 1.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.02942, allocations: 220 kB / 355.2 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/0.03275, allocations: 3.35 MB / 358.5 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/0.03278, allocations: 15.86 kB / 358.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.03292, allocations: 95.92 kB / 358.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.661e-05/0.03301, allocations: 112.4 kB / 358.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.03581, allocations: 2.719 MB / 361.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007681/0.04349, allocations: 7.957 MB / 369.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.04525, allocations: 1.936 MB / 371.4 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.04642, allocations: 1.23 MB / 372.6 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.04657, allocations: 45.28 kB / 372.6 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.0466, allocations: 47.88 kB / 372.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.655e-06/0.0466, allocations: 3.938 kB / 372.7 MB, free: 15.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.006021/0.05262, allocations: 5.306 MB / 378 MB, free: 9.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.05266, allocations: 68.7 kB / 378.1 MB, free: 9.848 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.05398, allocations: 1.51 MB / 379.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.05404, allocations: 49.7 kB / 379.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/0.05448, allocations: 0.9628 MB / 380.6 MB, free: 7.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002371/0.05471, allocations: 456 kB / 381 MB, free: 6.844 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.05497, allocations: 218.9 kB / 381.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.05506, allocations: 357.9 kB / 381.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.05576, allocations: 0.6896 MB / 382.3 MB, free: 5.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.05654, allocations: 0.8745 MB / 383.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.05802, allocations: 1.601 MB / 384.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.05802, allocations: 4 kB / 384.8 MB, free: 3.004 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002365/0.06038, allocations: 2.299 MB / 387.1 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.0604, allocations: 8 kB / 387.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.06041, allocations: 4 kB / 387.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.06177, allocations: 0.8111 MB / 387.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/0.06221, allocations: 211.7 kB / 388.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007953/0.07017, allocations: 10.96 MB / 399 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.07059, allocations: 43.97 kB / 399.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.07065, allocations: 44 kB / 399.1 MB, free: 4.137 MB / 362.7 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.0008052/0.07145, allocations: 0.8292 MB / 400 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.07162, allocations: 167 kB / 400.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.07387, allocations: 2.253 MB / 402.4 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.07388, allocations: 19.94 kB / 402.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.07388, allocations: 4 kB / 402.4 MB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.07389, allocations: 11.97 kB / 402.4 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004547/0.07844, allocations: 4.426 MB / 406.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.07844, allocations: 0 / 406.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/0.07878, allocations: 155.8 kB / 407 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001245/0.08002, allocations: 0.8119 MB / 407.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.08008, allocations: 35.98 kB / 407.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007476/0.08755, allocations: 10.85 MB / 418.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.08755, allocations: 0 / 418.7 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.09045, allocations: 3.217 MB / 421.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004464/0.09089, allocations: 346.8 kB / 422.2 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.091, allocations: 24 kB / 422.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.09138, allocations: 71.94 kB / 422.3 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.09155, allocations: 125 kB / 422.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.841e-05/0.0916, allocations: 32 kB / 422.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000944/0.09255, allocations: 1.068 MB / 423.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09255, allocations: 0 / 423.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001063/0.09361, allocations: 0.5078 MB / 424.1 MB, free: 10.57 MB / 394.7 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.003608/0.09722, allocations: 3.866 MB / 427.9 MB, free: 6.652 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.09936, allocations: 2.357 MB / 430.3 MB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.09937, allocations: 0.875 kB / 430.3 MB, free: 4.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.1009, allocations: 1.589 MB / 431.9 MB, free: 2.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.102, allocations: 0.499 MB / 432.4 MB, free: 2.109 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/0.1209, allocations: 17.71 MB / 450.1 MB, free: 84 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1212/0.2421, allocations: 1.47 MB / 451.6 MB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008049/0.2429, allocations: 306.9 kB / 451.9 MB, free: 115.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/0.2435, allocations: 0.7816 MB / 452.6 MB, free: 115.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2435, allocations: 0 / 452.6 MB, free: 115.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05099/0.2945, allocations: 53.23 MB / 0.494 GB, free: 68.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.401/9.695, allocations: 11.22 kB / 0.494 GB, free: 68.37 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.546069809235632] 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'] 9.81169051490724 9.823364368 9.798645457 Calling exit ...