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.001336/0.001336, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001532/0.001532, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.523/1.523, allocations: 230.6 MB / 258.3 MB, free: 8 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.001966/0.001966, allocations: 67.88 kB / 378.6 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2978, allocations: 53.37 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01316/0.311, allocations: 10.65 MB / 442.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.3231, allocations: 6.437 MB / 449 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.3252, allocations: 59.56 kB / 449.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.3268, allocations: 491.9 kB / 449.6 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.33, allocations: 0.931 MB / 450.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006162/0.3361, allocations: 2.524 MB / 453 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005685/0.3418, allocations: 3.496 MB / 456.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.3429, allocations: 0.5229 MB / 457 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/0.3451, allocations: 1.312 MB / 458.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.3477, allocations: 1.482 MB / 459.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006845/0.3484, allocations: 328 kB / 460.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001396/0.3498, allocations: 0.6088 MB / 460.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007902/0.3506, allocations: 0.736 MB / 461.5 MB, free: 9.184 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.3524, allocations: 1.4 MB / 462.9 MB, free: 7.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005184/0.3576, allocations: 3.966 MB / 466.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.3576, allocations: 0 / 466.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3576, allocations: 0 / 466.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.186e-05/0.3577, allocations: 0 / 466.9 MB, free: 3.797 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.008349/0.3661, allocations: 3.095 MB / 470 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3661, allocations: 12.03 kB / 470 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003745/0.3665, allocations: 282.6 kB / 470.2 MB, free: 368 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008234/0.3673, allocations: 315.1 kB / 470.6 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.37, allocations: 1.33 MB / 471.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003768/0.3704, allocations: 395.7 kB / 472.3 MB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006316/0.371, allocations: 239.8 kB / 472.5 MB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004314/0.3753, allocations: 2.169 MB / 474.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.204e-05/0.3754, allocations: 3.984 kB / 474.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.3756, allocations: 84 kB / 474.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-05/0.3756, allocations: 48 kB / 474.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004229/0.3798, allocations: 1.912 MB / 476.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/0.3943, allocations: 7.694 MB / 484.4 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.3983, allocations: 1.974 MB / 486.4 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.4015, allocations: 1.48 MB / 487.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.4016, allocations: 26 kB / 487.9 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.147e-05/0.4017, allocations: 64.5 kB / 488 MB, free: 14.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 4.539e-06/0.4017, allocations: 0 / 488 MB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05422/0.4559, allocations: 13.7 MB / 0.4899 GB, free: 448 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002891/0.4562, allocations: 393.8 kB / 0.4903 GB, free: 15.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.4588, allocations: 1.53 MB / 0.4918 GB, free: 14.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004647/0.4593, allocations: 65.7 kB / 0.4918 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000781/0.4601, allocations: 0.8408 MB / 0.4926 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009963/0.4611, allocations: 0.8792 MB / 0.4935 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007398/0.4618, allocations: 416.6 kB / 0.4939 GB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.462, allocations: 301.1 kB / 0.4942 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002247/0.4642, allocations: 0.9963 MB / 0.4952 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/0.4668, allocations: 1.26 MB / 0.4964 GB, free: 9.578 MB / 414.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.03458/0.5013, allocations: 9.278 MB / 0.5055 GB, free: 212 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5013, allocations: 0 / 0.5055 GB, free: 212 kB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006782/0.5081, allocations: 2.933 MB / 0.5083 GB, free: 13.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.5082, allocations: 11.94 kB / 0.5083 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.5082, allocations: 4 kB / 0.5083 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/0.5092, allocations: 353 kB / 0.5087 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002764/0.512, allocations: 0.55 MB / 0.5092 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.5223, allocations: 10.33 MB / 0.5193 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.5248, allocations: 119.9 kB / 0.5194 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/0.525, allocations: 83.95 kB / 0.5195 GB, free: 1.07 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.001116/0.5262, allocations: 476.2 kB / 0.5199 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00056/0.5267, allocations: 222.6 kB / 0.5202 GB, free: 388 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009015/0.5357, allocations: 3.43 MB / 0.5235 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.5358, allocations: 24 kB / 0.5235 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.5358, allocations: 4 kB / 0.5235 GB, free: 12.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-05/0.5358, allocations: 15.94 kB / 0.5236 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.551, allocations: 6.218 MB / 0.5296 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.551, allocations: 0 / 0.5296 GB, free: 6.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.5532, allocations: 435.5 kB / 0.53 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005909/0.5591, allocations: 1.198 MB / 0.5312 GB, free: 4.812 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005058/0.5596, allocations: 63.97 kB / 0.5313 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.254/0.8136, allocations: 17.96 MB / 0.5488 GB, free: 91.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8136, allocations: 6.609 kB / 0.5488 GB, free: 91.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009986/0.8236, allocations: 4.905 MB / 0.5536 GB, free: 89.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001196/0.8248, allocations: 476.5 kB / 0.5541 GB, free: 89.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.8251, allocations: 55.78 kB / 0.5541 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/0.8269, allocations: 134.1 kB / 0.5542 GB, free: 89.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005799/0.8275, allocations: 214.5 kB / 0.5544 GB, free: 89.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.8276, allocations: 72.84 kB / 0.5545 GB, free: 89.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.8289, allocations: 1.052 MB / 0.5555 GB, free: 88.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8289, allocations: 0 / 0.5555 GB, free: 88.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002241/0.8311, allocations: 0.6936 MB / 0.5562 GB, free: 88.55 MB / 446.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.009524/0.8406, allocations: 5.621 MB / 0.5617 GB, free: 85.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005167/0.8458, allocations: 3.235 MB / 0.5649 GB, free: 82.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/0.8458, allocations: 3.938 kB / 0.5649 GB, free: 82.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.8491, allocations: 2.515 MB / 0.5673 GB, free: 79.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002251/0.8514, allocations: 383 kB / 0.5677 GB, free: 79.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/0.8784, allocations: 19.58 MB / 0.5868 GB, free: 59.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009026/0.8793, allocations: 1.568 MB / 0.5883 GB, free: 57.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00128/0.8805, allocations: 295.9 kB / 0.5886 GB, free: 57.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/0.8816, allocations: 0.9132 MB / 0.5895 GB, free: 56.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.8816, allocations: 0 / 0.5895 GB, free: 56.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/1.013, allocations: 60.43 MB / 0.6485 GB, free: 12.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/18.21, allocations: 11.73 kB / 0.6485 GB, free: 12.69 MB / 462.1 MB " [Timeout remaining time 642] (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: 20.80681917211041] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.34251268301159 18.36731055 18.004857393 Calling exit ...