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.001344/0.001344, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001703/0.001703, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 8.062 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.00195/0.00195, allocations: 68.77 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2832, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01343/0.2966, allocations: 10.67 MB / 442.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.3101, allocations: 6.426 MB / 449 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002496/0.3126, allocations: 51.62 kB / 449.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.3143, allocations: 495.8 kB / 449.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003667/0.3179, allocations: 0.931 MB / 450.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006625/0.3246, allocations: 2.522 MB / 453 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006276/0.3308, allocations: 3.489 MB / 456.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.332, allocations: 0.5189 MB / 457 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002529/0.3345, allocations: 1.328 MB / 458.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.3371, allocations: 1.471 MB / 459.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007838/0.3379, allocations: 332 kB / 460.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.3393, allocations: 0.605 MB / 460.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000727/0.34, allocations: 0.7399 MB / 461.5 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.3417, allocations: 1.407 MB / 462.9 MB, free: 7.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005033/0.3467, allocations: 3.962 MB / 466.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3467, allocations: 4 kB / 466.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3467, allocations: 0 / 466.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.119e-05/0.3468, allocations: 0 / 466.9 MB, free: 3.816 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.007948/0.3548, allocations: 3.091 MB / 470 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3548, allocations: 12.03 kB / 470 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003324/0.3551, allocations: 270.6 kB / 470.2 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.3559, allocations: 315.1 kB / 470.5 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.3581, allocations: 1.334 MB / 471.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003113/0.3584, allocations: 403.7 kB / 472.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005502/0.359, allocations: 239.8 kB / 472.5 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003813/0.3628, allocations: 2.165 MB / 474.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.198e-05/0.3628, allocations: 8 kB / 474.7 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.363, allocations: 76 kB / 474.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.889e-05/0.3631, allocations: 48 kB / 474.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.367, allocations: 1.92 MB / 476.7 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.3799, allocations: 7.694 MB / 484.4 MB, free: 1.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.3836, allocations: 1.967 MB / 486.4 MB, free: 15.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.3865, allocations: 1.476 MB / 487.9 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3866, allocations: 29.98 kB / 487.9 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/0.3866, allocations: 64.55 kB / 488 MB, free: 14.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 3.677e-06/0.3866, allocations: 0 / 488 MB, free: 14.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05164/0.4383, allocations: 13.7 MB / 0.4899 GB, free: 476 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002555/0.4385, allocations: 393.8 kB / 0.4903 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.4409, allocations: 1.523 MB / 0.4918 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000394/0.4413, allocations: 69.7 kB / 0.4918 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006775/0.442, allocations: 0.8448 MB / 0.4926 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009149/0.4429, allocations: 0.8714 MB / 0.4935 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006923/0.4436, allocations: 420.6 kB / 0.4939 GB, free: 12.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4437, allocations: 301.1 kB / 0.4942 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.4459, allocations: 0.9885 MB / 0.4952 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.4484, allocations: 1.268 MB / 0.4964 GB, free: 9.609 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.03498/0.4834, allocations: 9.282 MB / 0.5055 GB, free: 240 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.4834, allocations: 0 / 0.5055 GB, free: 240 kB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00659/0.49, allocations: 2.937 MB / 0.5083 GB, free: 13.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.483e-05/0.49, allocations: 11.94 kB / 0.5083 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.49, allocations: 8.078 kB / 0.5083 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4911, allocations: 352.9 kB / 0.5087 GB, free: 12.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.4938, allocations: 0.5422 MB / 0.5092 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00998/0.5038, allocations: 10.33 MB / 0.5193 GB, free: 1.297 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002503/0.5063, allocations: 124 kB / 0.5194 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.5065, allocations: 83.95 kB / 0.5195 GB, free: 1.094 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.001102/0.5076, allocations: 470.9 kB / 0.5199 GB, free: 0.625 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004888/0.5081, allocations: 230.5 kB / 0.5202 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008731/0.5168, allocations: 3.422 MB / 0.5235 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-05/0.5169, allocations: 28 kB / 0.5235 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.5169, allocations: 4 kB / 0.5235 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/0.5169, allocations: 11.95 kB / 0.5236 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/0.5314, allocations: 6.222 MB / 0.5296 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.5315, allocations: 0 / 0.5296 GB, free: 6.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/0.5336, allocations: 423.4 kB / 0.53 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005717/0.5393, allocations: 1.198 MB / 0.5312 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003825/0.5397, allocations: 67.97 kB / 0.5313 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.239/0.7787, allocations: 17.97 MB / 0.5488 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7787, allocations: 0 / 0.5488 GB, free: 91.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.7889, allocations: 4.912 MB / 0.5536 GB, free: 89.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.7902, allocations: 471.5 kB / 0.5541 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/0.7905, allocations: 61.67 kB / 0.5541 GB, free: 89.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001806/0.7923, allocations: 131.6 kB / 0.5542 GB, free: 89.13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/0.7928, allocations: 217.5 kB / 0.5545 GB, free: 89.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.793, allocations: 67.95 kB / 0.5545 GB, free: 89.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.7942, allocations: 1.049 MB / 0.5555 GB, free: 88.65 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7942, allocations: 0 / 0.5555 GB, free: 88.65 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002391/0.7966, allocations: 0.6994 MB / 0.5562 GB, free: 88.56 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.009481/0.8061, allocations: 5.609 MB / 0.5617 GB, free: 85.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004831/0.8109, allocations: 3.252 MB / 0.5649 GB, free: 82.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8109, allocations: 0 / 0.5649 GB, free: 82.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00305/0.814, allocations: 2.511 MB / 0.5673 GB, free: 79.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.8162, allocations: 389.1 kB / 0.5677 GB, free: 79.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02792/0.8441, allocations: 19.59 MB / 0.5868 GB, free: 59.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008925/0.845, allocations: 1.568 MB / 0.5884 GB, free: 57.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001345/0.8464, allocations: 295.9 kB / 0.5886 GB, free: 57.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.8475, allocations: 0.9093 MB / 0.5895 GB, free: 56.73 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.8475, allocations: 0 / 0.5895 GB, free: 56.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.964, allocations: 60.43 MB / 0.6485 GB, free: 12.74 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/17.87, allocations: 11.8 kB / 0.6485 GB, free: 12.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.392795806284994] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.002598281018436 18.029702764 17.678017961 Calling exit ...