Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001568/0.001568, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001959/0.001959, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0-beta_om_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-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 64.78 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2677, allocations: 53.38 MB / 432 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01241/0.2801, allocations: 10.8 MB / 442.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00712/0.2872, allocations: 3.248 MB / 446 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002169/0.2894, allocations: 115.2 kB / 446.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.2914, allocations: 0.7488 MB / 446.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003658/0.2951, allocations: 1.185 MB / 448.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.2962, allocations: 487.3 kB / 448.5 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006594/0.3028, allocations: 5.151 MB / 453.7 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/0.3064, allocations: 2.503 MB / 456.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00458/0.311, allocations: 2.433 MB / 458.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.3156, allocations: 2.829 MB / 461.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001363/0.317, allocations: 0.6211 MB / 462.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.3188, allocations: 0.7147 MB / 462.8 MB, free: 7.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001795/0.3206, allocations: 1.652 MB / 464.4 MB, free: 6.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004595/0.3252, allocations: 2.766 MB / 467.2 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01022/0.3354, allocations: 8.448 MB / 475.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.3354, allocations: 3.938 kB / 475.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3354, allocations: 4 kB / 475.7 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002434/0.3357, allocations: 0 / 475.7 MB, free: 10.98 MB / 382.1 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.01201/0.3477, allocations: 5.159 MB / 480.8 MB, free: 5.766 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3477, allocations: 12.03 kB / 480.8 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009754/0.3487, allocations: 0.5556 MB / 481.4 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001763/0.3505, allocations: 0.5993 MB / 482 MB, free: 4.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006094/0.3566, allocations: 2.834 MB / 484.8 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.3568, allocations: 291.8 kB / 485.1 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001089/0.3579, allocations: 388 kB / 485.5 MB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/0.3704, allocations: 5.809 MB / 491.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.367e-05/0.3705, allocations: 3.984 kB / 491.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004625/0.3709, allocations: 164 kB / 491.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002403/0.3712, allocations: 212 kB / 491.7 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.3814, allocations: 5.02 MB / 496.7 MB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03029/0.4116, allocations: 16.1 MB / 0.5008 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006131/0.4178, allocations: 3.901 MB / 0.5046 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00385/0.4216, allocations: 2.446 MB / 0.507 GB, free: 15.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.4219, allocations: 57.97 kB / 0.507 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.753e-05/0.422, allocations: 60.56 kB / 0.5071 GB, free: 14.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 3.867e-06/0.422, allocations: 0 / 0.5071 GB, free: 14.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02054/0.4425, allocations: 10.06 MB / 0.5169 GB, free: 4.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.4426, allocations: 77.42 kB / 0.517 GB, free: 4.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004433/0.447, allocations: 2.632 MB / 0.5195 GB, free: 2.078 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.4474, allocations: 73.7 kB / 0.5196 GB, free: 2 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.4487, allocations: 1.687 MB / 0.5213 GB, free: 304 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000963/0.4497, allocations: 0.8793 MB / 0.5221 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007065/0.4504, allocations: 408.7 kB / 0.5225 GB, free: 15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4505, allocations: 305.1 kB / 0.5228 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.4527, allocations: 1.348 MB / 0.5241 GB, free: 13.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002472/0.4552, allocations: 1.65 MB / 0.5257 GB, free: 11.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00465/0.4598, allocations: 3.076 MB / 0.5287 GB, free: 8.402 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.4598, allocations: 0 / 0.5287 GB, free: 8.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007878/0.4677, allocations: 4.435 MB / 0.5331 GB, free: 3.887 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.4677, allocations: 12.06 kB / 0.5331 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.4678, allocations: 4 kB / 0.5331 GB, free: 3.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005303/0.4731, allocations: 1.647 MB / 0.5347 GB, free: 2.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.4747, allocations: 387.4 kB / 0.5351 GB, free: 1.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2457/0.7204, allocations: 24.7 MB / 0.5592 GB, free: 81.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.7225, allocations: 98.61 kB / 0.5593 GB, free: 81.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.7228, allocations: 78.77 kB / 0.5593 GB, free: 81.48 MB / 446.1 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.00276/0.7255, allocations: 1.408 MB / 0.5607 GB, free: 80.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008895/0.7264, allocations: 313 kB / 0.561 GB, free: 80.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006667/0.7331, allocations: 4.348 MB / 0.5653 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.7331, allocations: 25.53 kB / 0.5653 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.7331, allocations: 11.91 kB / 0.5653 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.7331, allocations: 11.95 kB / 0.5653 GB, free: 78.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.745, allocations: 8.743 MB / 0.5738 GB, free: 70.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/0.745, allocations: 4 kB / 0.5739 GB, free: 70.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.7461, allocations: 287.7 kB / 0.5741 GB, free: 70.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/0.7503, allocations: 1.614 MB / 0.5757 GB, free: 68.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/0.7505, allocations: 63.97 kB / 0.5758 GB, free: 68.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.768, allocations: 24.44 MB / 0.5996 GB, free: 43.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.768, allocations: 4.031 kB / 0.5996 GB, free: 43.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/0.7756, allocations: 6.072 MB / 0.6056 GB, free: 37.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001667/0.7773, allocations: 0.6248 MB / 0.6062 GB, free: 36.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004786/0.7778, allocations: 59.98 kB / 0.6062 GB, free: 36.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.779, allocations: 116.4 kB / 0.6063 GB, free: 36.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/0.7795, allocations: 225.5 kB / 0.6066 GB, free: 36.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.7796, allocations: 71.98 kB / 0.6066 GB, free: 36.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002188/0.7818, allocations: 1.852 MB / 0.6084 GB, free: 34.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7818, allocations: 0 / 0.6084 GB, free: 34.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003321/0.7851, allocations: 0.9557 MB / 0.6094 GB, free: 33.47 MB / 446.1 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.007675/0.7928, allocations: 6.785 MB / 0.616 GB, free: 26.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005788/0.7986, allocations: 4.771 MB / 0.6207 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7986, allocations: 0 / 0.6207 GB, free: 21.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003757/0.8024, allocations: 3.277 MB / 0.6239 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/0.8059, allocations: 0.956 MB / 0.6248 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04718/0.8531, allocations: 32.01 MB / 0.656 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003831/0.8569, allocations: 3.173 MB / 0.6591 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001848/0.8588, allocations: 0.5831 MB / 0.6597 GB, free: 13.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001969/0.8607, allocations: 1.472 MB / 0.6612 GB, free: 11.59 MB / 478.1 MB Notification: Performance of SimCode: time 1.302e-06/0.8607, allocations: 0 / 0.6612 GB, free: 11.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4069/1.268, allocations: 93.93 MB / 0.7529 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.61/19.87, allocations: 2.375 kB / 0.7529 GB, free: 178.7 MB / 0.5294 GB " [Timeout remaining time 640] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.376628945115954] 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'] 20.0180568783544 20.028077324 19.690083515 Calling exit ...