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.00174/0.00174, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001471/0.001471, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.428/1.428, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.001881/0.001881, allocations: 55.91 kB / 378.6 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2788, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01239/0.2912, allocations: 10.66 MB / 442.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.3047, allocations: 6.445 MB / 449.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00233/0.3071, allocations: 55.56 kB / 449.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.3088, allocations: 491.8 kB / 449.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.3119, allocations: 0.9271 MB / 450.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005898/0.3178, allocations: 2.534 MB / 453.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00542/0.3232, allocations: 3.497 MB / 456.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.3243, allocations: 0.5229 MB / 457.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002377/0.3267, allocations: 1.324 MB / 458.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.3298, allocations: 1.482 MB / 459.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009722/0.3307, allocations: 328 kB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.3325, allocations: 0.6011 MB / 460.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007837/0.3332, allocations: 0.7438 MB / 461.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.335, allocations: 1.4 MB / 463 MB, free: 7.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005233/0.3403, allocations: 3.966 MB / 466.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3403, allocations: 4 kB / 466.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3403, allocations: 0 / 466.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000103/0.3404, allocations: 4 kB / 467 MB, free: 3.582 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.008365/0.3487, allocations: 3.091 MB / 470 MB, free: 456 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3488, allocations: 8.031 kB / 470.1 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.447e-05/0.3489, allocations: 52.02 kB / 470.1 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003628/0.3492, allocations: 274.6 kB / 470.4 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000826/0.3501, allocations: 319.1 kB / 470.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.3525, allocations: 1.33 MB / 472 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.3529, allocations: 399.5 kB / 472.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005744/0.3535, allocations: 231.9 kB / 472.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004342/0.3578, allocations: 2.169 MB / 474.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.3579, allocations: 3.938 kB / 474.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.358, allocations: 84 kB / 474.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.3581, allocations: 48 kB / 474.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/0.3622, allocations: 1.92 MB / 476.9 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0133/0.3755, allocations: 7.69 MB / 484.5 MB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/0.3793, allocations: 1.974 MB / 486.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003265/0.3826, allocations: 1.48 MB / 488 MB, free: 14.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.3827, allocations: 25.98 kB / 488 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.056e-05/0.3827, allocations: 60.56 kB / 488.1 MB, free: 13.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 6.302e-06/0.3827, allocations: 3.984 kB / 488.1 MB, free: 13.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.05296/0.4357, allocations: 13.7 MB / 0.49 GB, free: 180 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002548/0.436, allocations: 393.9 kB / 0.4904 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.4385, allocations: 1.526 MB / 0.4919 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/0.4389, allocations: 65.7 kB / 0.492 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007282/0.4396, allocations: 0.8369 MB / 0.4928 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001027/0.4406, allocations: 0.8792 MB / 0.4936 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007597/0.4414, allocations: 412.6 kB / 0.494 GB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4415, allocations: 309.1 kB / 0.4943 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.4438, allocations: 0.9924 MB / 0.4953 GB, free: 10.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002595/0.4464, allocations: 1.264 MB / 0.4965 GB, free: 9.32 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.03435/0.4808, allocations: 9.278 MB / 0.5056 GB, free: 15.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4808, allocations: 4 kB / 0.5056 GB, free: 15.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006756/0.4876, allocations: 2.933 MB / 0.5085 GB, free: 12.95 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.4876, allocations: 8 kB / 0.5085 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.4876, allocations: 4 kB / 0.5085 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.4886, allocations: 364.9 kB / 0.5088 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002886/0.4915, allocations: 0.5422 MB / 0.5093 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.5017, allocations: 10.33 MB / 0.5194 GB, free: 1.012 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/0.5042, allocations: 124.1 kB / 0.5195 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002932/0.5045, allocations: 87.95 kB / 0.5196 GB, free: 0.8047 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.001158/0.5057, allocations: 469.3 kB / 0.5201 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005948/0.5063, allocations: 222.6 kB / 0.5203 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009037/0.5153, allocations: 3.419 MB / 0.5236 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/0.5153, allocations: 28 kB / 0.5237 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.908e-05/0.5153, allocations: 7.984 kB / 0.5237 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.134e-05/0.5154, allocations: 11.95 kB / 0.5237 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01494/0.5303, allocations: 6.222 MB / 0.5297 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.537e-05/0.5303, allocations: 0 / 0.5297 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00235/0.5327, allocations: 423.5 kB / 0.5302 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005854/0.5385, allocations: 1.206 MB / 0.5313 GB, free: 4.559 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004414/0.539, allocations: 63.97 kB / 0.5314 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2296/0.7686, allocations: 17.96 MB / 0.5489 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.7686, allocations: 0 / 0.5489 GB, free: 91.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.779, allocations: 4.919 MB / 0.5537 GB, free: 89.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/0.7803, allocations: 474.2 kB / 0.5542 GB, free: 89.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004337/0.7807, allocations: 58.91 kB / 0.5542 GB, free: 88.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.7826, allocations: 131.4 kB / 0.5544 GB, free: 88.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005682/0.7832, allocations: 207.7 kB / 0.5546 GB, free: 88.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/0.7833, allocations: 77 kB / 0.5546 GB, free: 88.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001335/0.7847, allocations: 1.043 MB / 0.5557 GB, free: 88.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7847, allocations: 3.938 kB / 0.5557 GB, free: 88.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002749/0.7874, allocations: 0.703 MB / 0.5564 GB, free: 88.38 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.009779/0.7972, allocations: 5.61 MB / 0.5618 GB, free: 85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005067/0.8023, allocations: 3.239 MB / 0.565 GB, free: 81.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.8023, allocations: 0 / 0.565 GB, free: 81.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003279/0.8056, allocations: 2.522 MB / 0.5675 GB, free: 79.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.8079, allocations: 391.9 kB / 0.5678 GB, free: 79.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03042/0.8383, allocations: 19.57 MB / 0.5869 GB, free: 59.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008358/0.8391, allocations: 1.568 MB / 0.5885 GB, free: 57.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00115/0.8403, allocations: 299.9 kB / 0.5888 GB, free: 57.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.8413, allocations: 0.9132 MB / 0.5897 GB, free: 56.53 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.8413, allocations: 4 kB / 0.5897 GB, free: 56.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/0.9539, allocations: 60.47 MB / 0.6487 GB, free: 12.42 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/18.67, allocations: 4.062 kB / 0.6487 GB, free: 12.42 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.570357761986088] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.88195414299844 18.896992865 18.55312494 Calling exit ...