Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001528/0.001528, 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 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 214.7 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 43.94 kB / 378.5 MB, free: 2.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2312, allocations: 53.36 MB / 431.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01104/0.2423, allocations: 9.167 MB / 441 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.2531, allocations: 6.072 MB / 447.1 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.2548, allocations: 51.62 kB / 447.2 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.2564, allocations: 499.8 kB / 447.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.2594, allocations: 0.9271 MB / 448.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005521/0.265, allocations: 2.535 MB / 451.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00534/0.2703, allocations: 3.481 MB / 454.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009589/0.2713, allocations: 0.519 MB / 455.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001924/0.2732, allocations: 1.328 MB / 456.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.2751, allocations: 1.478 MB / 457.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004526/0.2755, allocations: 328 kB / 458.2 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.2766, allocations: 0.605 MB / 458.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006754/0.2773, allocations: 0.7359 MB / 459.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.2786, allocations: 1.167 MB / 460.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004605/0.2832, allocations: 3.989 MB / 464.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2832, allocations: 0 / 464.7 MB, free: 5.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2832, allocations: 4 kB / 464.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.689e-05/0.2833, allocations: 0 / 464.7 MB, free: 5.641 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.007428/0.2907, allocations: 3.091 MB / 467.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.2907, allocations: 8.031 kB / 467.8 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.612e-05/0.2908, allocations: 52.02 kB / 467.9 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003294/0.2911, allocations: 278.5 kB / 468.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.2918, allocations: 319.1 kB / 468.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002253/0.2941, allocations: 1.326 MB / 469.8 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003106/0.2944, allocations: 411.4 kB / 470.2 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005859/0.295, allocations: 231.9 kB / 470.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/0.2991, allocations: 2.638 MB / 473.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/0.2991, allocations: 3.938 kB / 473.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.2993, allocations: 91.98 kB / 473.2 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.999e-05/0.2994, allocations: 48 kB / 473.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003816/0.3032, allocations: 1.908 MB / 475.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01217/0.3154, allocations: 7.051 MB / 482.2 MB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003409/0.3188, allocations: 1.965 MB / 484.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00282/0.3216, allocations: 1.469 MB / 485.6 MB, free: 156 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.3217, allocations: 25.94 kB / 485.6 MB, free: 132 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.3217, allocations: 64.55 kB / 485.7 MB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 5.671e-06/0.3218, allocations: 4 kB / 485.7 MB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05213/0.3739, allocations: 13.69 MB / 499.4 MB, free: 2.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002237/0.3741, allocations: 401.8 kB / 499.8 MB, free: 1.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/0.3763, allocations: 1.526 MB / 0.4896 GB, free: 308 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002566/0.3766, allocations: 69.7 kB / 0.4896 GB, free: 232 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006808/0.3773, allocations: 0.8409 MB / 0.4904 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000777/0.3781, allocations: 0.8753 MB / 0.4913 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007357/0.3788, allocations: 416.6 kB / 0.4917 GB, free: 14.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3789, allocations: 305.1 kB / 0.492 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/0.381, allocations: 0.9924 MB / 0.493 GB, free: 12.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002486/0.3835, allocations: 1.489 MB / 0.4944 GB, free: 11.17 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.03386/0.4174, allocations: 9.278 MB / 0.5035 GB, free: 1.801 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4174, allocations: 0 / 0.5035 GB, free: 1.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006068/0.4235, allocations: 2.937 MB / 0.5063 GB, free: 14.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.4235, allocations: 7.938 kB / 0.5063 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.4235, allocations: 11.98 kB / 0.5064 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.4245, allocations: 356.9 kB / 0.5067 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002726/0.4273, allocations: 0.5461 MB / 0.5072 GB, free: 13.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/0.4367, allocations: 10.27 MB / 0.5173 GB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/0.4392, allocations: 128 kB / 0.5174 GB, free: 2.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.4394, allocations: 79.95 kB / 0.5175 GB, free: 2.715 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.001074/0.4405, allocations: 471.2 kB / 0.5179 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005065/0.441, allocations: 222.6 kB / 0.5181 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008479/0.4495, allocations: 3.426 MB / 0.5215 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.927e-05/0.4495, allocations: 28 kB / 0.5215 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.4495, allocations: 4 kB / 0.5215 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.983e-05/0.4495, allocations: 15.94 kB / 0.5215 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01386/0.4634, allocations: 5.724 MB / 0.5271 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/0.4634, allocations: 3.938 kB / 0.5271 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002164/0.4656, allocations: 427.4 kB / 0.5275 GB, free: 8.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005727/0.4713, allocations: 1.198 MB / 0.5287 GB, free: 6.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002933/0.4716, allocations: 59.97 kB / 0.5287 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.219/0.6906, allocations: 17.76 MB / 0.5461 GB, free: 94.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6906, allocations: 5.531 kB / 0.5461 GB, free: 94.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009522/0.7001, allocations: 4.911 MB / 0.5509 GB, free: 92.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009332/0.7011, allocations: 474.2 kB / 0.5513 GB, free: 91.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/0.7014, allocations: 62.28 kB / 0.5514 GB, free: 91.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.7031, allocations: 131.3 kB / 0.5515 GB, free: 91.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004903/0.7036, allocations: 212.1 kB / 0.5517 GB, free: 91.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.7037, allocations: 77.81 kB / 0.5518 GB, free: 91.86 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001075/0.7048, allocations: 1.049 MB / 0.5528 GB, free: 91.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7048, allocations: 0 / 0.5528 GB, free: 91.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002233/0.707, allocations: 0.6985 MB / 0.5535 GB, free: 91.34 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.009006/0.716, allocations: 5.616 MB / 0.559 GB, free: 86.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004585/0.7206, allocations: 3.24 MB / 0.5621 GB, free: 83.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.7206, allocations: 0 / 0.5621 GB, free: 83.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003109/0.7237, allocations: 2.513 MB / 0.5646 GB, free: 81.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/0.726, allocations: 384.5 kB / 0.565 GB, free: 80.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/0.752, allocations: 19.56 MB / 0.5841 GB, free: 61.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008895/0.7529, allocations: 0.9958 MB / 0.585 GB, free: 60.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001355/0.7542, allocations: 303.9 kB / 0.5853 GB, free: 59.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/0.7554, allocations: 0.9144 MB / 0.5862 GB, free: 59.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.332e-06/0.7554, allocations: 4 kB / 0.5862 GB, free: 59.01 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09926/0.8546, allocations: 59.83 MB / 0.6447 GB, free: 15.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.19/18.04, allocations: 8 kB / 0.6447 GB, free: 15.77 MB / 462.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.83471288799774] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.245352585916407 18.259802038 17.973651916 Calling exit ...