Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001331/0.001331, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00155/0.00155, allocations: 213.5 kB / 24.52 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 258.2 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 63.89 kB / 378.5 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01166/0.3089, allocations: 9.172 MB / 441.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01299/0.3219, allocations: 6.08 MB / 447.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002805/0.3247, allocations: 51.62 kB / 447.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001698/0.3264, allocations: 491.9 kB / 447.7 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00332/0.3297, allocations: 0.9349 MB / 448.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006549/0.3363, allocations: 2.537 MB / 451.2 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005722/0.342, allocations: 3.489 MB / 454.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.3431, allocations: 0.519 MB / 455.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002391/0.3455, allocations: 1.328 MB / 456.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00197/0.3474, allocations: 1.475 MB / 458 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004451/0.3479, allocations: 328 kB / 458.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.349, allocations: 0.6049 MB / 458.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007037/0.3497, allocations: 0.7438 MB / 459.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.351, allocations: 1.163 MB / 460.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.3554, allocations: 3.985 MB / 464.8 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3554, allocations: 7.938 kB / 464.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3554, allocations: 0 / 464.8 MB, free: 5.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.037e-05/0.3555, allocations: 0 / 464.8 MB, free: 5.418 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.007629/0.3631, allocations: 3.091 MB / 467.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3632, allocations: 8.031 kB / 467.9 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.225e-05/0.3632, allocations: 52.02 kB / 468 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003457/0.3636, allocations: 274.6 kB / 468.2 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008006/0.3644, allocations: 315.1 kB / 468.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.3667, allocations: 1.334 MB / 469.9 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003341/0.367, allocations: 403.5 kB / 470.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005626/0.3676, allocations: 239.8 kB / 470.5 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004309/0.3719, allocations: 2.638 MB / 473.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.3719, allocations: 4 kB / 473.1 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.3721, allocations: 80 kB / 473.2 MB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/0.3722, allocations: 52 kB / 473.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.3761, allocations: 1.916 MB / 475.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.3881, allocations: 7.047 MB / 482.2 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/0.3916, allocations: 1.972 MB / 484.2 MB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002918/0.3945, allocations: 1.473 MB / 485.7 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-05/0.3946, allocations: 22 kB / 485.7 MB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.537e-05/0.3947, allocations: 64.5 kB / 485.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 5.15e-06/0.3947, allocations: 0 / 485.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05367/0.4484, allocations: 13.69 MB / 499.5 MB, free: 2.082 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000267/0.4486, allocations: 393.8 kB / 499.8 MB, free: 1.613 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.4513, allocations: 1.526 MB / 0.4896 GB, free: 80 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004272/0.4517, allocations: 73.64 kB / 0.4897 GB, free: 0 / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007633/0.4525, allocations: 0.837 MB / 0.4905 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000926/0.4534, allocations: 0.8831 MB / 0.4914 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008236/0.4542, allocations: 408.6 kB / 0.4918 GB, free: 13.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4543, allocations: 305.1 kB / 0.4921 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.4565, allocations: 1 MB / 0.493 GB, free: 12.55 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002625/0.4591, allocations: 1.482 MB / 0.4945 GB, free: 10.95 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.03526/0.4944, allocations: 9.278 MB / 0.5035 GB, free: 1.574 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4944, allocations: 0 / 0.5035 GB, free: 1.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006804/0.5012, allocations: 2.937 MB / 0.5064 GB, free: 14.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.5013, allocations: 8 kB / 0.5064 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.5013, allocations: 7.984 kB / 0.5064 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.5023, allocations: 356.9 kB / 0.5068 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/0.5052, allocations: 0.5461 MB / 0.5073 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.5161, allocations: 10.27 MB / 0.5173 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.5186, allocations: 124 kB / 0.5174 GB, free: 2.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.5188, allocations: 79.97 kB / 0.5175 GB, free: 2.5 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.001198/0.52, allocations: 484.8 kB / 0.518 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005283/0.5205, allocations: 214.6 kB / 0.5182 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008973/0.5295, allocations: 3.43 MB / 0.5215 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/0.5295, allocations: 28 kB / 0.5216 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5295, allocations: 4 kB / 0.5216 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/0.5295, allocations: 11.95 kB / 0.5216 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01479/0.5443, allocations: 5.724 MB / 0.5272 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.5444, allocations: 8 kB / 0.5272 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/0.5466, allocations: 423.4 kB / 0.5276 GB, free: 7.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005945/0.5525, allocations: 1.206 MB / 0.5288 GB, free: 6.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003615/0.5529, allocations: 55.98 kB / 0.5288 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.234/0.7869, allocations: 17.76 MB / 0.5461 GB, free: 94.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.7869, allocations: 5.094 kB / 0.5462 GB, free: 94.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009694/0.7966, allocations: 4.919 MB / 0.551 GB, free: 91.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.7976, allocations: 470.9 kB / 0.5514 GB, free: 91.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002916/0.7979, allocations: 60 kB / 0.5515 GB, free: 91.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001669/0.7995, allocations: 131.5 kB / 0.5516 GB, free: 91.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000543/0.8001, allocations: 210.6 kB / 0.5518 GB, free: 91.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/0.8002, allocations: 79.73 kB / 0.5519 GB, free: 91.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.8014, allocations: 1.049 MB / 0.5529 GB, free: 91.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8014, allocations: 0 / 0.5529 GB, free: 91.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002356/0.8038, allocations: 0.7005 MB / 0.5536 GB, free: 91.07 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.009295/0.813, allocations: 5.609 MB / 0.5591 GB, free: 86.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004805/0.8179, allocations: 3.235 MB / 0.5622 GB, free: 83.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.8179, allocations: 0 / 0.5622 GB, free: 83.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.8209, allocations: 2.518 MB / 0.5647 GB, free: 81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.8229, allocations: 389.4 kB / 0.565 GB, free: 80.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/0.8483, allocations: 19.56 MB / 0.5841 GB, free: 61.01 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/0.8491, allocations: 0.9955 MB / 0.5851 GB, free: 59.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001188/0.8503, allocations: 295.9 kB / 0.5854 GB, free: 59.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001085/0.8514, allocations: 0.921 MB / 0.5863 GB, free: 58.76 MB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.8514, allocations: 0 / 0.5863 GB, free: 58.76 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/0.9795, allocations: 59.82 MB / 0.6447 GB, free: 15.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.98/18.96, allocations: 15.8 kB / 0.6447 GB, free: 15.38 MB / 462.1 MB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.831110585015267] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 19.166235066019 19.180160935 18.821723191 Calling exit ...