Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001267/0.001267, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.005694/0.005694, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9229/0.9229, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.527e-05, allocations: 6.281 kB / 298.5 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.1338/0.1338, allocations: 9.306 MB / 307.8 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004783/0.1386, allocations: 3.171 MB / 311 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.1393, allocations: 94.62 kB / 311 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.1404, allocations: 0.7333 MB / 311.8 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001956/0.1423, allocations: 1.225 MB / 313 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.1433, allocations: 0.4953 MB / 313.5 MB, free: 6.988 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00437/0.1476, allocations: 5.471 MB / 319 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.1501, allocations: 2.235 MB / 321.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.1543, allocations: 3.525 MB / 324.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.1568, allocations: 2.504 MB / 327.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008014/0.1576, allocations: 0.6227 MB / 327.9 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008588/0.1584, allocations: 0.7074 MB / 328.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001013/0.1594, allocations: 1.678 MB / 330.2 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002085/0.1615, allocations: 1.936 MB / 332.2 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00592/0.1674, allocations: 8.547 MB / 340.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1674, allocations: 0 / 340.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1675, allocations: 4 kB / 340.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001677/0.1676, allocations: 0 / 340.7 MB, free: 4.398 MB / 298.7 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.006301/0.1739, allocations: 5.077 MB / 345.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.174, allocations: 15.98 kB / 345.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004915/0.1745, allocations: 0.5556 MB / 346.4 MB, free: 14.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.1752, allocations: 0.572 MB / 346.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.178, allocations: 2.592 MB / 349.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000393/0.1783, allocations: 294.1 kB / 349.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.1787, allocations: 391.9 kB / 350.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005909/0.1846, allocations: 6.119 MB / 356.3 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.564e-05/0.1847, allocations: 0 / 356.3 MB, free: 4.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002643/0.1849, allocations: 160 kB / 356.5 MB, free: 4.332 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/0.1851, allocations: 215.9 kB / 356.7 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/0.1905, allocations: 5.001 MB / 361.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/0.2066, allocations: 14.76 MB / 376.5 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.2106, allocations: 3.909 MB / 380.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002253/0.2128, allocations: 2.447 MB / 382.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001888/0.213, allocations: 65.91 kB / 382.9 MB, free: 9.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.2131, allocations: 68.48 kB / 382.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 3.768e-06/0.2131, allocations: 0 / 382.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.01231/0.2254, allocations: 10.04 MB / 393 MB, free: 15.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003343/0.2257, allocations: 81.42 kB / 393.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.2282, allocations: 2.647 MB / 395.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.812e-05/0.2283, allocations: 73.7 kB / 395.8 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.2291, allocations: 1.663 MB / 397.4 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.2295, allocations: 0.8752 MB / 398.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/0.2299, allocations: 408.7 kB / 398.7 MB, free: 9.773 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.634e-05/0.23, allocations: 301.1 kB / 399 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.2316, allocations: 1.348 MB / 400.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.2331, allocations: 1.65 MB / 402 MB, free: 6.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.2359, allocations: 3.072 MB / 405.1 MB, free: 3.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/0.2359, allocations: 11.94 kB / 405.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004707/0.2406, allocations: 4.427 MB / 409.5 MB, free: 14.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2407, allocations: 11.94 kB / 409.5 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.2407, allocations: 8 kB / 409.5 MB, free: 14.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002603/0.2433, allocations: 1.635 MB / 411.2 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/0.2441, allocations: 391.5 kB / 411.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01679/0.2608, allocations: 24.47 MB / 436 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001276/0.2621, allocations: 95.88 kB / 436.1 MB, free: 2.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.2622, allocations: 80 kB / 436.2 MB, free: 2.816 MB / 394.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.001792/0.264, allocations: 1.407 MB / 437.6 MB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002962/0.2643, allocations: 314.1 kB / 437.9 MB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004473/0.2688, allocations: 4.333 MB / 442.2 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.2688, allocations: 24 kB / 442.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2688, allocations: 12 kB / 442.3 MB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.2688, allocations: 19.88 kB / 442.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008977/0.2778, allocations: 8.248 MB / 450.5 MB, free: 4.262 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.2778, allocations: 4 kB / 450.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.2784, allocations: 287.7 kB / 450.8 MB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.281, allocations: 1.62 MB / 452.5 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.2812, allocations: 59.97 kB / 452.5 MB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1587/0.4398, allocations: 24.25 MB / 476.8 MB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4398, allocations: 1.25 kB / 476.8 MB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006723/0.4466, allocations: 6.077 MB / 482.8 MB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.4478, allocations: 0.6303 MB / 483.5 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.448, allocations: 54.5 kB / 483.5 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007462/0.4487, allocations: 121.8 kB / 483.6 MB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/0.4492, allocations: 225.2 kB / 483.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/0.4493, allocations: 63.89 kB / 483.9 MB, free: 127.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002109/0.4515, allocations: 1.854 MB / 485.8 MB, free: 126.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4515, allocations: 7.594 kB / 485.8 MB, free: 126.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002518/0.454, allocations: 0.9543 MB / 486.7 MB, free: 126.5 MB / 426.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.006339/0.4603, allocations: 6.757 MB / 493.5 MB, free: 123.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003753/0.4641, allocations: 4.771 MB / 498.3 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4641, allocations: 1.031 kB / 498.3 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.4662, allocations: 3.266 MB / 0.4898 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.468, allocations: 0.9657 MB / 0.4907 GB, free: 119 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/0.4965, allocations: 32.06 MB / 0.522 GB, free: 89.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.4981, allocations: 2.641 MB / 0.5246 GB, free: 87.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009309/0.499, allocations: 0.5713 MB / 0.5252 GB, free: 86.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009392/0.5, allocations: 1.469 MB / 0.5266 GB, free: 85.17 MB / 426.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5, allocations: 3.938 kB / 0.5266 GB, free: 85.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09507/0.595, allocations: 94.58 MB / 0.619 GB, free: 6.402 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.51, allocations: 0 / 0.619 GB, free: 6.402 MB / 442.7 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.456779492087662] 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.76549790520221 11.77518208 11.605044456 Calling exit ...