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.001395/0.001395, 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.001654/0.001654, allocations: 211.9 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.035 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.002193/0.002193, allocations: 60.77 kB / 378.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2601, allocations: 53.37 MB / 432 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01279/0.2729, allocations: 10.8 MB / 442.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007395/0.2803, allocations: 3.263 MB / 446 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.2824, allocations: 115.2 kB / 446.1 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002023/0.2845, allocations: 0.7449 MB / 446.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.288, allocations: 1.177 MB / 448 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.2893, allocations: 487.4 kB / 448.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006946/0.2962, allocations: 5.147 MB / 453.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003872/0.3001, allocations: 2.503 MB / 456.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005161/0.3053, allocations: 2.442 MB / 458.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/0.3104, allocations: 2.833 MB / 461.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.3119, allocations: 0.6289 MB / 462.1 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.3139, allocations: 0.7108 MB / 462.8 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001803/0.3157, allocations: 1.644 MB / 464.4 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004844/0.3205, allocations: 2.773 MB / 467.2 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.3314, allocations: 8.444 MB / 475.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.826e-06/0.3314, allocations: 0 / 475.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3314, allocations: 0 / 475.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003536/0.3318, allocations: 0 / 475.7 MB, free: 10.96 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.01366/0.3454, allocations: 5.159 MB / 480.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.3455, allocations: 12.03 kB / 480.8 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009216/0.3464, allocations: 0.5556 MB / 481.4 MB, free: 5.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.3483, allocations: 0.5993 MB / 482 MB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006309/0.3546, allocations: 2.834 MB / 484.8 MB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002569/0.3549, allocations: 295.8 kB / 485.1 MB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007955/0.3557, allocations: 380 kB / 485.5 MB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.3666, allocations: 5.813 MB / 491.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.28e-05/0.3667, allocations: 4 kB / 491.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000386/0.3671, allocations: 160 kB / 491.4 MB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002277/0.3673, allocations: 204 kB / 491.6 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009211/0.3765, allocations: 5.032 MB / 496.7 MB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02918/0.4057, allocations: 16.1 MB / 0.5008 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006141/0.4118, allocations: 3.901 MB / 0.5046 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003903/0.4157, allocations: 2.446 MB / 0.507 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.416, allocations: 61.95 kB / 0.507 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.836e-05/0.4161, allocations: 64.56 kB / 0.5071 GB, free: 14.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 4.699e-06/0.4161, allocations: 0 / 0.5071 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02108/0.4372, allocations: 10.05 MB / 0.5169 GB, free: 4.805 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.4373, allocations: 77.42 kB / 0.517 GB, free: 4.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/0.4418, allocations: 2.64 MB / 0.5195 GB, free: 2.055 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.442, allocations: 69.7 kB / 0.5196 GB, free: 1.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001609/0.4436, allocations: 1.683 MB / 0.5213 GB, free: 288 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.4447, allocations: 0.8833 MB / 0.5221 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.4454, allocations: 412.7 kB / 0.5225 GB, free: 14.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.4455, allocations: 312.8 kB / 0.5228 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.4477, allocations: 1.332 MB / 0.5241 GB, free: 13.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.4501, allocations: 1.658 MB / 0.5257 GB, free: 11.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004745/0.4549, allocations: 3.076 MB / 0.5287 GB, free: 8.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4549, allocations: 4 kB / 0.5287 GB, free: 8.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00789/0.4628, allocations: 4.431 MB / 0.5331 GB, free: 3.867 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.4628, allocations: 8 kB / 0.5331 GB, free: 3.859 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4628, allocations: 8 kB / 0.5331 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005242/0.4681, allocations: 1.643 MB / 0.5347 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.4696, allocations: 391.5 kB / 0.5351 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2504/0.72, allocations: 24.7 MB / 0.5592 GB, free: 81.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.7221, allocations: 93.95 kB / 0.5593 GB, free: 81.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/0.7223, allocations: 77.06 kB / 0.5593 GB, free: 81.41 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.002022/0.7243, allocations: 1.415 MB / 0.5607 GB, free: 80.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005462/0.7248, allocations: 315.3 kB / 0.561 GB, free: 80.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005994/0.7308, allocations: 4.346 MB / 0.5653 GB, free: 78.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.7308, allocations: 22.47 kB / 0.5653 GB, free: 78.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.7308, allocations: 7.156 kB / 0.5653 GB, free: 78.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.7309, allocations: 15.77 kB / 0.5653 GB, free: 78.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/0.7423, allocations: 8.738 MB / 0.5738 GB, free: 70.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.7423, allocations: 0 / 0.5738 GB, free: 70.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7433, allocations: 291.6 kB / 0.5741 GB, free: 70.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00424/0.7475, allocations: 1.614 MB / 0.5757 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.7477, allocations: 63.97 kB / 0.5758 GB, free: 68.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/0.7655, allocations: 24.46 MB / 0.5996 GB, free: 43.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7655, allocations: 4.062 kB / 0.5996 GB, free: 43.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007457/0.7729, allocations: 6.068 MB / 0.6056 GB, free: 37.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001632/0.7746, allocations: 0.6287 MB / 0.6062 GB, free: 36.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004177/0.775, allocations: 51.98 kB / 0.6062 GB, free: 36.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.7762, allocations: 123.9 kB / 0.6064 GB, free: 36.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/0.7767, allocations: 221.5 kB / 0.6066 GB, free: 36.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.7769, allocations: 67.98 kB / 0.6066 GB, free: 36.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002312/0.7792, allocations: 1.856 MB / 0.6084 GB, free: 34.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7792, allocations: 4 kB / 0.6084 GB, free: 34.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003202/0.7824, allocations: 0.9532 MB / 0.6094 GB, free: 33.4 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.007596/0.79, allocations: 6.771 MB / 0.616 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005856/0.7958, allocations: 4.769 MB / 0.6206 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.7958, allocations: 8.062 kB / 0.6207 GB, free: 21.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003743/0.7996, allocations: 3.274 MB / 0.6239 GB, free: 18.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/0.8033, allocations: 0.9554 MB / 0.6248 GB, free: 17.26 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04955/0.8528, allocations: 32.01 MB / 0.656 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003703/0.8565, allocations: 3.177 MB / 0.6592 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001952/0.8585, allocations: 0.5714 MB / 0.6597 GB, free: 13.01 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/0.8604, allocations: 1.476 MB / 0.6612 GB, free: 11.54 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.8604, allocations: 3.938 kB / 0.6612 GB, free: 11.53 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4421/1.303, allocations: 93.93 MB / 0.7529 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.91/20.22, allocations: 3.656 kB / 0.7529 GB, free: 178.4 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-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.80446578981355] 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.365292923990637 20.374492074 20.040639761 Calling exit ...