Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0009188/0.0009188, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009427/0.0009427, 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.9446/0.9446, allocations: 177 MB / 204.1 MB, free: 5.734 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.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.335e-05, allocations: 7.203 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005057/0.00507, allocations: 6.169 MB / 330.7 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.008672, allocations: 2.246 MB / 332.9 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006773/0.00935, allocations: 59.62 kB / 333 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008534/0.0102, allocations: 464.9 kB / 333.5 MB, free: 6.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.0116, allocations: 0.7296 MB / 334.2 MB, free: 6.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.01207, allocations: 287.6 kB / 334.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002493/0.01456, allocations: 2.983 MB / 337.4 MB, free: 2.871 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.01592, allocations: 1.336 MB / 338.8 MB, free: 1.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002404/0.01833, allocations: 1.991 MB / 340.8 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.01995, allocations: 1.399 MB / 342.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005695/0.02052, allocations: 348 kB / 342.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.02103, allocations: 443.7 kB / 342.9 MB, free: 13.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.02153, allocations: 0.9427 MB / 343.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007975/0.02233, allocations: 1.068 MB / 345 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.02506, allocations: 4.725 MB / 349.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.02506, allocations: 0 / 349.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02507, allocations: 0 / 349.7 MB, free: 6.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.354e-05/0.0251, allocations: 4 kB / 349.7 MB, free: 6.559 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.003144/0.02824, allocations: 2.955 MB / 352.6 MB, free: 3.555 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.02829, allocations: 15.98 kB / 352.7 MB, free: 3.539 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002818/0.02857, allocations: 325.1 kB / 353 MB, free: 3.211 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005516/0.02912, allocations: 355.1 kB / 353.3 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.03081, allocations: 1.615 MB / 354.9 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.307e-05/0.03089, allocations: 168.8 kB / 355.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.0311, allocations: 220.3 kB / 355.3 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/0.03435, allocations: 3.39 MB / 358.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.03438, allocations: 0 / 358.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.03453, allocations: 91.98 kB / 358.8 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.237e-05/0.03461, allocations: 124.5 kB / 358.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002887/0.0375, allocations: 2.742 MB / 361.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008227/0.04572, allocations: 7.993 MB / 369.7 MB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/0.04761, allocations: 1.939 MB / 371.6 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.04882, allocations: 1.227 MB / 372.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001595/0.04898, allocations: 53.22 kB / 372.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.04901, allocations: 43.88 kB / 372.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.595e-06/0.04901, allocations: 0 / 372.9 MB, free: 14.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.006414/0.05543, allocations: 5.318 MB / 378.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.05547, allocations: 64.72 kB / 378.3 MB, free: 9.484 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.05691, allocations: 1.502 MB / 379.8 MB, free: 7.965 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.05697, allocations: 53.7 kB / 379.8 MB, free: 7.906 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005392/0.05751, allocations: 0.9705 MB / 380.8 MB, free: 6.926 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002473/0.05776, allocations: 463.9 kB / 381.3 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.05799, allocations: 222.9 kB / 381.5 MB, free: 6.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.0581, allocations: 357.9 kB / 381.8 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007011/0.0588, allocations: 0.6896 MB / 382.5 MB, free: 5.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007804/0.05958, allocations: 0.8629 MB / 383.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.06109, allocations: 1.608 MB / 385 MB, free: 2.633 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.0611, allocations: 3.938 kB / 385 MB, free: 2.629 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002635/0.06373, allocations: 2.299 MB / 387.3 MB, free: 316 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.06375, allocations: 4 kB / 387.3 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.06376, allocations: 4 kB / 387.3 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.06514, allocations: 0.8189 MB / 388.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004103/0.06555, allocations: 207.7 kB / 388.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007798/0.07335, allocations: 10.96 MB / 399.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.07378, allocations: 51.91 kB / 399.3 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.07384, allocations: 43.98 kB / 399.4 MB, free: 3.758 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.0008447/0.07468, allocations: 0.8175 MB / 400.2 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.07484, allocations: 171 kB / 400.4 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.07706, allocations: 2.253 MB / 402.6 MB, free: 496 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.07707, allocations: 16 kB / 402.6 MB, free: 480 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.07707, allocations: 4 kB / 402.6 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.07708, allocations: 7.969 kB / 402.6 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004738/0.08182, allocations: 4.438 MB / 407.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.08182, allocations: 0 / 407.1 MB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.08216, allocations: 155.8 kB / 407.2 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.08343, allocations: 0.8116 MB / 408.1 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.08349, allocations: 35.98 kB / 408.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007329/0.09082, allocations: 10.86 MB / 418.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.09082, allocations: 8.062 kB / 419 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003455/0.09428, allocations: 3.216 MB / 422.2 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.09476, allocations: 342.9 kB / 422.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.09487, allocations: 28 kB / 422.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.09528, allocations: 75.88 kB / 422.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.09547, allocations: 125 kB / 422.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.09552, allocations: 32.47 kB / 422.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.09669, allocations: 1.064 MB / 423.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.09669, allocations: 0 / 423.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001188/0.09788, allocations: 0.5156 MB / 424.3 MB, free: 10.17 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.003649/0.1015, allocations: 3.862 MB / 428.2 MB, free: 6.258 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.104, allocations: 2.353 MB / 430.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.104, allocations: 0 / 430.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.1053, allocations: 1.586 MB / 432.1 MB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1064, allocations: 0.503 MB / 432.6 MB, free: 1.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1518/0.2581, allocations: 17.72 MB / 450.4 MB, free: 114.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001995/0.2601, allocations: 1.479 MB / 451.8 MB, free: 114.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007636/0.2609, allocations: 309.6 kB / 452.1 MB, free: 114.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006544/0.2615, allocations: 0.7845 MB / 452.9 MB, free: 114.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.153e-06/0.2615, allocations: 0 / 452.9 MB, free: 114.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06297/0.3245, allocations: 53.28 MB / 0.4943 GB, free: 67.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.515/9.839, allocations: 0 / 0.4943 GB, free: 67.47 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.786346085369587] 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.952144471928477 9.959148939 9.9326974 Calling exit ...