Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 76.08 kB / 20.67 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 149.4 kB / 23.93 MB, free: 0.6211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.932/0.932, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 318.5 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.291e-05, allocations: 2.281 kB / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.00805/0.008073, allocations: 9.373 MB / 327.8 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00578/0.01385, allocations: 3.084 MB / 330.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.01583, allocations: 111.2 kB / 331 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.01742, allocations: 0.7254 MB / 331.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00278/0.0202, allocations: 1.226 MB / 333 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008695/0.02107, allocations: 475.4 kB / 333.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004286/0.02535, allocations: 5.312 MB / 338.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002843/0.0282, allocations: 2.437 MB / 341.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005143/0.03334, allocations: 3.548 MB / 344.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003828/0.03717, allocations: 2.506 MB / 347.2 MB, free: 9.363 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001384/0.03855, allocations: 0.6211 MB / 347.9 MB, free: 8.742 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.04047, allocations: 0.7107 MB / 348.6 MB, free: 8.031 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001113/0.04158, allocations: 1.695 MB / 350.3 MB, free: 6.332 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00282/0.0444, allocations: 1.934 MB / 352.2 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006421/0.05082, allocations: 8.555 MB / 360.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.05083, allocations: 0 / 360.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.05083, allocations: 4 kB / 360.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002415/0.05107, allocations: 0 / 360.8 MB, free: 11.81 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.008337/0.05941, allocations: 5.1 MB / 365.9 MB, free: 6.652 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.05945, allocations: 8.922 kB / 365.9 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005574/0.06001, allocations: 0.5595 MB / 366.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000871/0.06088, allocations: 0.5758 MB / 367 MB, free: 5.496 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003509/0.06439, allocations: 2.818 MB / 369.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.06454, allocations: 303.9 kB / 370.1 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004417/0.06498, allocations: 379.9 kB / 370.5 MB, free: 1.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00838/0.07336, allocations: 6.123 MB / 376.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.07342, allocations: 7.938 kB / 376.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002695/0.07368, allocations: 160 kB / 376.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.07382, allocations: 208 kB / 377 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00734/0.08116, allocations: 5.02 MB / 382 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02263/0.1038, allocations: 14.75 MB / 396.8 MB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/0.1077, allocations: 3.886 MB / 400.6 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002696/0.1104, allocations: 2.451 MB / 403.1 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.1106, allocations: 61.97 kB / 403.2 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/0.1107, allocations: 60.56 kB / 403.2 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 4.729e-06/0.1107, allocations: 0 / 403.2 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.01422/0.1249, allocations: 10.03 MB / 413.2 MB, free: 6.746 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.1249, allocations: 81.42 kB / 413.3 MB, free: 6.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.1284, allocations: 2.647 MB / 416 MB, free: 3.984 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.1287, allocations: 69.7 kB / 416 MB, free: 3.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009292/0.1296, allocations: 1.671 MB / 417.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/0.1302, allocations: 0.8714 MB / 418.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/0.1306, allocations: 412.7 kB / 419 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.1307, allocations: 301.1 kB / 419.3 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.1323, allocations: 1.336 MB / 420.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.134, allocations: 1.658 MB / 422.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003621/0.1376, allocations: 3.083 MB / 425.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-05/0.1377, allocations: 4 kB / 425.4 MB, free: 10.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.005836/0.1435, allocations: 4.431 MB / 429.8 MB, free: 5.816 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.1435, allocations: 8 kB / 429.8 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.1435, allocations: 8 kB / 429.8 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.1466, allocations: 1.639 MB / 431.4 MB, free: 4.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.1476, allocations: 391.4 kB / 431.8 MB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.18/0.3276, allocations: 24.49 MB / 456.3 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.3291, allocations: 95.94 kB / 456.4 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.3293, allocations: 80.44 kB / 456.5 MB, free: 112.2 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.001829/0.3311, allocations: 1.399 MB / 457.9 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004597/0.3316, allocations: 305.9 kB / 458.2 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.336, allocations: 4.343 MB / 462.5 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.336, allocations: 25.69 kB / 462.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.3361, allocations: 10.91 kB / 462.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.3361, allocations: 22.06 kB / 462.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007254/0.3433, allocations: 8.243 MB / 470.8 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.3433, allocations: 3.984 kB / 470.8 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.3439, allocations: 287.6 kB / 471.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002298/0.3462, allocations: 1.613 MB / 472.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/0.3463, allocations: 59.98 kB / 472.8 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.3575, allocations: 24.24 MB / 497 MB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3575, allocations: 0 / 497 MB, free: 77.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.3621, allocations: 6.08 MB / 0.4913 GB, free: 71.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007991/0.3629, allocations: 0.6262 MB / 0.4919 GB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/0.3631, allocations: 55.98 kB / 0.492 GB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006586/0.3638, allocations: 127.9 kB / 0.4921 GB, free: 70.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.3641, allocations: 221.5 kB / 0.4923 GB, free: 70.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.812e-05/0.3641, allocations: 63.98 kB / 0.4924 GB, free: 70.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001443/0.3656, allocations: 1.848 MB / 0.4942 GB, free: 68.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3656, allocations: 0 / 0.4942 GB, free: 68.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001939/0.3675, allocations: 0.9474 MB / 0.4951 GB, free: 67.84 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.004974/0.3725, allocations: 6.779 MB / 0.5017 GB, free: 60.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.3762, allocations: 4.758 MB / 0.5064 GB, free: 56.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3762, allocations: 0 / 0.5064 GB, free: 56.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002265/0.3785, allocations: 3.278 MB / 0.5096 GB, free: 52.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.3804, allocations: 0.9587 MB / 0.5105 GB, free: 51.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/0.4103, allocations: 32.04 MB / 0.5418 GB, free: 19.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.4118, allocations: 2.641 MB / 0.5444 GB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009818/0.4128, allocations: 0.5802 MB / 0.5449 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009261/0.4137, allocations: 1.465 MB / 0.5464 GB, free: 14.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4137, allocations: 0 / 0.5464 GB, free: 14.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/0.672, allocations: 94.47 MB / 0.6386 GB, free: 132.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.37, allocations: 7.562 kB / 0.6386 GB, free: 132.6 MB / 458.7 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.254104639403522] 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.503309066407382 11.510044078 11.457807995 Calling exit ...