Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.001372/0.001372, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 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.001567/0.001567, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 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 1.477/1.477, allocations: 230.6 MB / 254.8 MB, free: 14.88 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+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.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 47.94 kB / 373.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09667, allocations: 53.33 MB / 427 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.193/0.2897, allocations: 10.62 MB / 437.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.2997, allocations: 6.411 MB / 444.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.3019, allocations: 52.59 kB / 444.1 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.3033, allocations: 492.6 kB / 444.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.3062, allocations: 0.929 MB / 445.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006622/0.3129, allocations: 2.528 MB / 448.1 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006305/0.3192, allocations: 3.468 MB / 451.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.3203, allocations: 0.5321 MB / 452.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.3227, allocations: 1.319 MB / 453.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.3252, allocations: 1.479 MB / 454.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005424/0.3258, allocations: 328.8 kB / 455.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.3272, allocations: 0.5772 MB / 455.8 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007019/0.3279, allocations: 0.7421 MB / 456.5 MB, free: 12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.3294, allocations: 1.404 MB / 457.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004732/0.3341, allocations: 3.957 MB / 461.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3341, allocations: 1.156 kB / 461.9 MB, free: 8.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3341, allocations: 3.938 kB / 461.9 MB, free: 8.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.305e-05/0.3342, allocations: 0 / 461.9 MB, free: 8.195 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.009005/0.3432, allocations: 3.168 MB / 465 MB, free: 6.031 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3433, allocations: 9.062 kB / 465 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.208e-05/0.3433, allocations: 50.86 kB / 465.1 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003417/0.3437, allocations: 276.3 kB / 465.4 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009338/0.3446, allocations: 320.9 kB / 465.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.3472, allocations: 1.401 MB / 467.1 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002409/0.3474, allocations: 247 kB / 467.3 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005429/0.3479, allocations: 236.4 kB / 467.5 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/0.3518, allocations: 2.158 MB / 469.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.3519, allocations: 2.5 kB / 469.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.3521, allocations: 83.38 kB / 469.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.269e-05/0.3521, allocations: 51.28 kB / 469.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004099/0.3562, allocations: 1.918 MB / 471.8 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.3692, allocations: 7.8 MB / 479.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003542/0.3727, allocations: 1.974 MB / 481.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/0.3757, allocations: 1.477 MB / 483 MB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.3758, allocations: 37.97 kB / 483 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.679e-05/0.3758, allocations: 64.5 kB / 483.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.517e-06/0.3758, allocations: 0 / 483.1 MB, free: 8.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05221/0.4281, allocations: 14.14 MB / 497.2 MB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000242/0.4283, allocations: 393.8 kB / 497.6 MB, free: 9.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.4305, allocations: 1.522 MB / 499.2 MB, free: 8.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002477/0.4308, allocations: 73.7 kB / 499.2 MB, free: 8.008 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.4314, allocations: 0.8486 MB / 0.4884 GB, free: 7.148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007876/0.4322, allocations: 0.8675 MB / 0.4892 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007258/0.4329, allocations: 416.6 kB / 0.4896 GB, free: 5.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4331, allocations: 309.1 kB / 0.4899 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.4352, allocations: 0.9924 MB / 0.4909 GB, free: 4.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002387/0.4376, allocations: 1.256 MB / 0.4921 GB, free: 3.234 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.03301/0.4706, allocations: 9.433 MB / 0.5013 GB, free: 9.676 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4706, allocations: 0.875 kB / 0.5013 GB, free: 9.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006088/0.4767, allocations: 2.945 MB / 0.5042 GB, free: 6.668 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4767, allocations: 4 kB / 0.5042 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/0.4768, allocations: 4 kB / 0.5042 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009777/0.4777, allocations: 353 kB / 0.5045 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002572/0.4803, allocations: 0.5539 MB / 0.5051 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00984/0.4902, allocations: 10.94 MB / 0.5157 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.4927, allocations: 128 kB / 0.5159 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.4929, allocations: 83.95 kB / 0.516 GB, free: 9.758 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: transformer.winding13.i = transformer.I1Start[3] transformer.H[2] = transformer.HStart[2]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 9 (diode6.off,diode5.off,diode4.off,diode3.off,diode2.off,diode1.off,transformer.core3.asc,transformer.core2.asc,transformer.core1.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 247 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001074/0.494, allocations: 473.2 kB / 0.5164 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/0.4945, allocations: 218.6 kB / 0.5166 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008769/0.5033, allocations: 3.434 MB / 0.52 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/0.5033, allocations: 31.98 kB / 0.52 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.5033, allocations: 4 kB / 0.52 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-05/0.5033, allocations: 11.95 kB / 0.52 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.5178, allocations: 6.235 MB / 0.5261 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.5178, allocations: 4 kB / 0.5261 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/0.5199, allocations: 435.5 kB / 0.5265 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005509/0.5254, allocations: 1.194 MB / 0.5277 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002434/0.5256, allocations: 67.95 kB / 0.5277 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02277/0.5484, allocations: 18.88 MB / 0.5462 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5484, allocations: 4.031 kB / 0.5462 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.5594, allocations: 4.914 MB / 0.551 GB, free: 4.238 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.5606, allocations: 0.5423 MB / 0.5515 GB, free: 3.676 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003041/0.5609, allocations: 55.98 kB / 0.5516 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/0.5627, allocations: 135.8 kB / 0.5517 GB, free: 3.488 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005639/0.5633, allocations: 201.7 kB / 0.5519 GB, free: 3.289 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/0.5635, allocations: 67.98 kB / 0.552 GB, free: 3.223 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001541/0.565, allocations: 1.053 MB / 0.553 GB, free: 2.172 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.565, allocations: 0 / 0.553 GB, free: 2.172 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0027/0.5677, allocations: 0.6955 MB / 0.5537 GB, free: 1.477 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.core1.Hstat,transformer.core1.B,transformer.core2.Hstat,transformer.core2.B,transformer.core3.Hstat,transformer.core3.B,transformer.winding11.i,transformer.winding12.i,transformer.winding13.i,transformer.winding21.i,transformer.winding22.i,transformer.winding23.i,capacitor1.v,capacitor2.v,pdissStatAvg.x[1],pdissStatAvg.x[2],pdissEddyAvg.x[1],pdissEddyAvg.x[2],pdissCopAvg.x[1],pdissCopAvg.x[2],transformer.core3.MagRel,transformer.core2.MagRel,transformer.core1.MagRel) * Number of discrete variables: 9 (transformer.core1.asc,transformer.core2.asc,transformer.core3.asc,diode1.off,diode2.off,diode3.off,diode4.off,diode5.off,diode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (205): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(1,8), (1,8), (1,8), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01142/0.5791, allocations: 5.626 MB / 0.5592 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006195/0.5853, allocations: 3.239 MB / 0.5623 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5853, allocations: 0 / 0.5623 GB, free: 8.355 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003975/0.5893, allocations: 2.511 MB / 0.5648 GB, free: 5.723 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/0.5916, allocations: 389.6 kB / 0.5651 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03343/0.6251, allocations: 19.57 MB / 0.5843 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.6264, allocations: 1.561 MB / 0.5858 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001245/0.6277, allocations: 295.9 kB / 0.5861 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.629, allocations: 0.9139 MB / 0.587 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.629, allocations: 4 kB / 0.587 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3238/0.9529, allocations: 58.65 MB / 0.6442 GB, free: 165.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.4, allocations: 11.7 kB / 0.6442 GB, free: 165.3 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.981884287961293] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 17.580050460994244 17.593364924 17.256492445 Calling exit ...