Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006289/0.006289, allocations: 110.3 kB / 21.96 MB, free: 5.25 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.001872/0.001872, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 51.92 kB / 348 MB, free: 10.01 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2519, allocations: 49.17 MB / 397.2 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.00859/0.2605, allocations: 10.54 MB / 407.7 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01204/0.2726, allocations: 6.349 MB / 414 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00241/0.275, allocations: 51.69 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001584/0.2766, allocations: 489.3 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003892/0.2804, allocations: 0.9281 MB / 415.5 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006731/0.2872, allocations: 2.503 MB / 418 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005681/0.2929, allocations: 3.484 MB / 421.5 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.294, allocations: 0.5223 MB / 422 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.2962, allocations: 1.31 MB / 423.3 MB, free: 7.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.2985, allocations: 1.485 MB / 424.8 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004558/0.2989, allocations: 328.6 kB / 425.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3002, allocations: 0.6027 MB / 425.7 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.3009, allocations: 0.7452 MB / 426.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001694/0.3026, allocations: 1.391 MB / 427.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005317/0.3079, allocations: 3.949 MB / 431.8 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3079, allocations: 4 kB / 431.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3079, allocations: 3.938 kB / 431.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.316e-05/0.308, allocations: 4 kB / 431.8 MB, free: 0.5195 MB / 334.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.00779/0.3158, allocations: 3.075 MB / 434.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.3158, allocations: 15.98 kB / 434.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.61e-05/0.3159, allocations: 52 kB / 435 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003286/0.3162, allocations: 278.6 kB / 435.2 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.3167, allocations: 287.2 kB / 435.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.3191, allocations: 1.31 MB / 436.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003193/0.3194, allocations: 403.2 kB / 437.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005567/0.32, allocations: 247.8 kB / 437.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003807/0.3238, allocations: 2.162 MB / 439.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.3238, allocations: 3.938 kB / 439.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.324, allocations: 84 kB / 439.7 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.322e-05/0.3241, allocations: 48 kB / 439.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003994/0.3281, allocations: 1.916 MB / 441.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.3401, allocations: 7.686 MB / 449.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.3437, allocations: 1.983 MB / 451.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.3467, allocations: 1.488 MB / 452.8 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-05/0.3468, allocations: 29.98 kB / 452.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.3469, allocations: 56.56 kB / 452.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.178e-06/0.3469, allocations: 0 / 452.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05213/0.399, allocations: 13.69 MB / 466.6 MB, free: 13.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002369/0.3992, allocations: 389.8 kB / 467 MB, free: 12.69 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.4017, allocations: 1.514 MB / 468.5 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004191/0.4022, allocations: 65.7 kB / 468.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007193/0.4029, allocations: 0.8369 MB / 469.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001019/0.4039, allocations: 0.883 MB / 470.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008893/0.4048, allocations: 404.7 kB / 470.7 MB, free: 8.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4049, allocations: 309.1 kB / 471 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.4071, allocations: 0.9963 MB / 472 MB, free: 7.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002423/0.4095, allocations: 1.264 MB / 473.3 MB, free: 6.324 MB / 382.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.03335/0.4429, allocations: 9.271 MB / 482.5 MB, free: 12.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-05/0.4429, allocations: 8 kB / 482.5 MB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006885/0.4498, allocations: 2.933 MB / 485.5 MB, free: 9.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.4498, allocations: 11.98 kB / 485.5 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.964e-05/0.4499, allocations: 4 kB / 485.5 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.4509, allocations: 356.9 kB / 485.8 MB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/0.4536, allocations: 0.5461 MB / 486.4 MB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.4642, allocations: 10.33 MB / 496.7 MB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.4667, allocations: 124.1 kB / 496.8 MB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004769/0.4672, allocations: 83.95 kB / 496.9 MB, free: 13.82 MB / 414.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.001755/0.469, allocations: 469.3 kB / 497.4 MB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009782/0.47, allocations: 218.6 kB / 497.6 MB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009703/0.4797, allocations: 3.426 MB / 0.4893 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.308e-05/0.4797, allocations: 28 kB / 0.4893 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.4797, allocations: 8 kB / 0.4893 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-05/0.4798, allocations: 11.95 kB / 0.4893 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.4949, allocations: 6.218 MB / 0.4954 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4949, allocations: 0 / 0.4954 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002013/0.4969, allocations: 423.5 kB / 0.4958 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005541/0.5025, allocations: 1.202 MB / 0.497 GB, free: 1.574 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003217/0.5028, allocations: 63.97 kB / 0.497 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02325/0.526, allocations: 17.96 MB / 0.5146 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.5261, allocations: 8.062 kB / 0.5146 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01242/0.5385, allocations: 4.914 MB / 0.5194 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/0.5401, allocations: 478.2 kB / 0.5198 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006359/0.5407, allocations: 56 kB / 0.5199 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002206/0.5429, allocations: 135.9 kB / 0.52 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/0.5436, allocations: 221.5 kB / 0.5202 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.5439, allocations: 72.05 kB / 0.5203 GB, free: 8.547 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.5458, allocations: 1.045 MB / 0.5213 GB, free: 7.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5458, allocations: 0 / 0.5213 GB, free: 7.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003287/0.549, allocations: 0.6951 MB / 0.522 GB, free: 6.809 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.01243/0.5615, allocations: 5.61 MB / 0.5275 GB, free: 1.066 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007267/0.5687, allocations: 3.243 MB / 0.5306 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/0.5688, allocations: 8.062 kB / 0.5306 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004788/0.5735, allocations: 2.507 MB / 0.5331 GB, free: 11.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.5764, allocations: 385.4 kB / 0.5335 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04075/0.6172, allocations: 19.53 MB / 0.5525 GB, free: 6.781 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001971/0.6191, allocations: 1.565 MB / 0.5541 GB, free: 5.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001792/0.6209, allocations: 303.8 kB / 0.5543 GB, free: 4.879 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001731/0.6226, allocations: 0.9093 MB / 0.5552 GB, free: 3.969 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6226, allocations: 0 / 0.5552 GB, free: 3.969 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2885/0.9112, allocations: 60.36 MB / 0.6142 GB, free: 112.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.75/17.66, allocations: 3.859 kB / 0.6142 GB, free: 112.3 MB / 478.1 MB " [Timeout remaining time 642] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.407309462025296] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 17.864559264970012 17.875057088 17.564481707 Calling exit ...