Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.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.001683/0.001683, allocations: 121.6 kB / 18.5 MB, free: 4.578 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.001806/0.001806, allocations: 205 kB / 21.45 MB, free: 1.629 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.578/1.578, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",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.003049/0.003049, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1405, allocations: 53.33 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.262/0.4025, allocations: 10.63 MB / 437.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.4139, allocations: 6.405 MB / 444.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002785/0.4167, allocations: 47.94 kB / 444.1 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.4186, allocations: 0.4895 MB / 444.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004732/0.4233, allocations: 0.9221 MB / 445.5 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008828/0.4321, allocations: 2.531 MB / 448 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007224/0.4394, allocations: 3.479 MB / 451.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001522/0.4409, allocations: 0.524 MB / 452 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003896/0.4448, allocations: 1.318 MB / 453.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004299/0.4491, allocations: 1.483 MB / 454.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00176/0.4508, allocations: 328.9 kB / 455.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.4536, allocations: 0.5788 MB / 455.7 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.4551, allocations: 0.747 MB / 456.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003806/0.4589, allocations: 1.401 MB / 457.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00866/0.4675, allocations: 3.95 MB / 461.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4675, allocations: 0 / 461.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4675, allocations: 0 / 461.8 MB, free: 8.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002138/0.4678, allocations: 1.094 kB / 461.8 MB, free: 8.254 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.01084/0.4786, allocations: 3.174 MB / 465 MB, free: 6.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.4786, allocations: 10.25 kB / 465 MB, free: 6.082 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004598/0.4791, allocations: 276.9 kB / 465.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.4802, allocations: 315.8 kB / 465.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.4831, allocations: 1.406 MB / 467 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003091/0.4834, allocations: 243.5 kB / 467.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007338/0.4842, allocations: 231.9 kB / 467.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004634/0.4888, allocations: 2.175 MB / 469.7 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.486e-05/0.4889, allocations: 2.609 kB / 469.7 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.4891, allocations: 88.16 kB / 469.7 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-05/0.4891, allocations: 47.22 kB / 469.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004746/0.4939, allocations: 1.914 MB / 471.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01646/0.5103, allocations: 7.8 MB / 479.5 MB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004072/0.5144, allocations: 1.964 MB / 481.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003311/0.5177, allocations: 1.485 MB / 482.9 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.5178, allocations: 29.98 kB / 483 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.189e-05/0.5179, allocations: 68.5 kB / 483 MB, free: 8.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.719e-06/0.5179, allocations: 0 / 483 MB, free: 8.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05905/0.577, allocations: 14.14 MB / 497.2 MB, free: 10.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003025/0.5773, allocations: 393.8 kB / 497.6 MB, free: 9.668 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002771/0.5801, allocations: 1.526 MB / 499.1 MB, free: 8.133 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005402/0.5806, allocations: 73.69 kB / 499.2 MB, free: 8.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007273/0.5813, allocations: 0.8331 MB / 500 MB, free: 7.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.5823, allocations: 0.8831 MB / 0.4891 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007469/0.5831, allocations: 408.6 kB / 0.4895 GB, free: 5.914 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5832, allocations: 301.1 kB / 0.4898 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/0.5855, allocations: 1.002 MB / 0.4908 GB, free: 4.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002672/0.5882, allocations: 1.26 MB / 0.492 GB, free: 3.285 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.03649/0.6247, allocations: 9.429 MB / 0.5012 GB, free: 9.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.6247, allocations: 4 kB / 0.5012 GB, free: 9.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.007135/0.6318, allocations: 2.933 MB / 0.5041 GB, free: 6.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.6319, allocations: 12.56 kB / 0.5041 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/0.6319, allocations: 7.984 kB / 0.5041 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.6329, allocations: 353 kB / 0.5045 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002988/0.6359, allocations: 0.5539 MB / 0.505 GB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.6469, allocations: 10.95 MB / 0.5157 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/0.6497, allocations: 120 kB / 0.5158 GB, free: 9.895 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004337/0.6502, allocations: 87.95 kB / 0.5159 GB, free: 9.809 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.001307/0.6515, allocations: 471.7 kB / 0.5163 GB, free: 9.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/0.6522, allocations: 222.6 kB / 0.5166 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009812/0.662, allocations: 3.43 MB / 0.5199 GB, free: 5.602 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.662, allocations: 27.94 kB / 0.5199 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.662, allocations: 4 kB / 0.5199 GB, free: 5.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.181e-05/0.6621, allocations: 20.05 kB / 0.52 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/0.6786, allocations: 6.239 MB / 0.526 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.6786, allocations: 4 kB / 0.5261 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/0.681, allocations: 427.4 kB / 0.5265 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006153/0.6872, allocations: 1.194 MB / 0.5276 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000503/0.6877, allocations: 63.98 kB / 0.5277 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02492/0.7126, allocations: 18.89 MB / 0.5461 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7126, allocations: 0 / 0.5461 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/0.7253, allocations: 4.922 MB / 0.5509 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001685/0.727, allocations: 0.5384 MB / 0.5515 GB, free: 3.727 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006036/0.7276, allocations: 56 kB / 0.5515 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002259/0.7299, allocations: 135.9 kB / 0.5516 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/0.7305, allocations: 205.7 kB / 0.5518 GB, free: 3.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.7307, allocations: 72.34 kB / 0.5519 GB, free: 3.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.7326, allocations: 1.045 MB / 0.5529 GB, free: 2.223 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7326, allocations: 0 / 0.5529 GB, free: 2.223 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003892/0.7364, allocations: 0.6951 MB / 0.5536 GB, free: 1.527 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.014/0.7504, allocations: 5.622 MB / 0.5591 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007559/0.758, allocations: 3.227 MB / 0.5623 GB, free: 8.422 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.758, allocations: 12.25 kB / 0.5623 GB, free: 8.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0048/0.7628, allocations: 2.515 MB / 0.5647 GB, free: 5.773 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003083/0.7659, allocations: 384 kB / 0.5651 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04243/0.8083, allocations: 19.55 MB / 0.5842 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001546/0.8099, allocations: 1.569 MB / 0.5857 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001656/0.8115, allocations: 299.9 kB / 0.586 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001695/0.8132, allocations: 0.9131 MB / 0.5869 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.8132, allocations: 0 / 0.5869 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3807/1.194, allocations: 58.62 MB / 0.6441 GB, free: 165.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/18.63, allocations: 12.97 kB / 0.6442 GB, free: 165.4 MB / 0.5137 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.38758136332035] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.77379145892337 18.787972601 18.317182417 Calling exit ...