Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009395/0.0009395, allocations: 79.7 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.0008474/0.0008474, 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.8566/0.8566, allocations: 177.1 MB / 204.3 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.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/3.005e-05, allocations: 4.953 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007559/0.007589, allocations: 9.398 MB / 334 MB, free: 6.461 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005061/0.01265, allocations: 3.147 MB / 337.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000989/0.01364, allocations: 111.2 kB / 337.2 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.01478, allocations: 0.7254 MB / 338 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.01654, allocations: 1.226 MB / 339.2 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.01714, allocations: 491.3 kB / 339.7 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003121/0.02027, allocations: 5.328 MB / 345 MB, free: 11.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.02225, allocations: 2.433 MB / 347.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003092/0.02534, allocations: 3.548 MB / 351 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.02745, allocations: 2.513 MB / 353.5 MB, free: 2.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004358/0.02789, allocations: 0.6211 MB / 354.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.02854, allocations: 0.7184 MB / 354.8 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007896/0.02933, allocations: 1.695 MB / 356.5 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.03049, allocations: 1.922 MB / 358.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004604/0.03509, allocations: 8.566 MB / 367 MB, free: 5.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.03509, allocations: 7.938 kB / 367 MB, free: 5.266 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.03509, allocations: 0 / 367 MB, free: 5.266 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.787e-05/0.03514, allocations: 0 / 367 MB, free: 5.266 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.00531/0.04045, allocations: 5.115 MB / 372.1 MB, free: 96 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.04049, allocations: 8.031 kB / 372.2 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004916/0.04099, allocations: 0.5556 MB / 372.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008347/0.04182, allocations: 0.6031 MB / 373.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.0449, allocations: 2.841 MB / 376.2 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.04502, allocations: 296 kB / 376.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/0.04537, allocations: 384 kB / 376.8 MB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005798/0.05117, allocations: 6.127 MB / 382.9 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.05121, allocations: 3.938 kB / 382.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/0.05146, allocations: 156 kB / 383.1 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/0.05158, allocations: 208 kB / 383.3 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005036/0.05662, allocations: 5.016 MB / 388.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/0.07142, allocations: 14.76 MB / 403.1 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/0.07498, allocations: 3.897 MB / 407 MB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002226/0.0772, allocations: 2.455 MB / 409.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.07739, allocations: 61.97 kB / 409.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.07742, allocations: 60.56 kB / 409.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 3.646e-06/0.07742, allocations: 0 / 409.5 MB, free: 10.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.01204/0.08946, allocations: 10.04 MB / 419.6 MB, free: 124 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.0895, allocations: 77.42 kB / 419.7 MB, free: 32 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.09195, allocations: 2.652 MB / 422.3 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.09207, allocations: 73.7 kB / 422.4 MB, free: 13.28 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000927/0.093, allocations: 1.671 MB / 424.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004151/0.09341, allocations: 0.8792 MB / 424.9 MB, free: 10.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006444/0.09406, allocations: 408.7 kB / 425.3 MB, free: 10.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.391e-05/0.09412, allocations: 301.1 kB / 425.6 MB, free: 10 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.09542, allocations: 1.34 MB / 427 MB, free: 8.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.09692, allocations: 1.65 MB / 428.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/0.09986, allocations: 3.079 MB / 431.7 MB, free: 3.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.09987, allocations: 4 kB / 431.7 MB, free: 3.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.004971/0.1048, allocations: 4.431 MB / 436.1 MB, free: 15.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.1049, allocations: 8 kB / 436.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1049, allocations: 8 kB / 436.1 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002621/0.1075, allocations: 1.643 MB / 437.8 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.1083, allocations: 391.4 kB / 438.2 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1638/0.2721, allocations: 24.47 MB / 462.6 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.2734, allocations: 102.5 kB / 462.7 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.2735, allocations: 76.53 kB / 462.8 MB, free: 102.4 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.001431/0.2749, allocations: 1.414 MB / 464.2 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.2752, allocations: 315.7 kB / 464.5 MB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/0.2789, allocations: 4.342 MB / 468.9 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2789, allocations: 25.41 kB / 468.9 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2789, allocations: 10.62 kB / 468.9 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.2789, allocations: 14.8 kB / 468.9 MB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00675/0.2856, allocations: 8.254 MB / 477.2 MB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2856, allocations: 0 / 477.2 MB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/0.2862, allocations: 286.5 kB / 477.5 MB, free: 92.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.2884, allocations: 1.623 MB / 479.1 MB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.842e-05/0.2885, allocations: 59.97 kB / 479.2 MB, free: 91.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.2993, allocations: 24.23 MB / 0.4916 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2993, allocations: 4.031 kB / 0.4916 GB, free: 66.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004655/0.304, allocations: 6.06 MB / 0.4975 GB, free: 60.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000799/0.3048, allocations: 0.6287 MB / 0.4981 GB, free: 59.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000208/0.305, allocations: 63.98 kB / 0.4982 GB, free: 59.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.3057, allocations: 121.8 kB / 0.4983 GB, free: 59.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/0.306, allocations: 229.5 kB / 0.4985 GB, free: 58.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.869e-05/0.306, allocations: 63.98 kB / 0.4986 GB, free: 58.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001532/0.3076, allocations: 1.852 MB / 0.5004 GB, free: 57.06 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3076, allocations: 0 / 0.5004 GB, free: 57.06 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001988/0.3096, allocations: 0.9552 MB / 0.5013 GB, free: 56.11 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.004944/0.3145, allocations: 6.782 MB / 0.5079 GB, free: 49.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.3182, allocations: 4.753 MB / 0.5126 GB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3182, allocations: 4 kB / 0.5126 GB, free: 44.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.3204, allocations: 3.277 MB / 0.5158 GB, free: 40.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.3224, allocations: 0.9586 MB / 0.5167 GB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0291/0.3515, allocations: 32.1 MB / 0.5481 GB, free: 7.422 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.3531, allocations: 2.641 MB / 0.5507 GB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009501/0.354, allocations: 0.5824 MB / 0.5512 GB, free: 4.156 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/0.355, allocations: 1.469 MB / 0.5527 GB, free: 2.688 MB / 410.7 MB Notification: Performance of SimCode: time 7.31e-07/0.355, allocations: 8 kB / 0.5527 GB, free: 2.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2406/0.5957, allocations: 94.58 MB / 0.645 GB, free: 145.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11, allocations: 0.625 kB / 0.645 GB, free: 145.2 MB / 474.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.787597519345582] 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.147871715947986 11.15986405 11.123298237 Calling exit ...