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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001079, allocations: 110.5 kB / 17.73 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 187 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 51.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.2354/0.3439, allocations: 10.45 MB / 385.1 MB, free: 7.348 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.3578, allocations: 6.308 MB / 391.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.3614, allocations: 39.53 kB / 391.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.3638, allocations: 481.2 kB / 391.9 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005164/0.369, allocations: 0.9044 MB / 392.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008964/0.378, allocations: 2.51 MB / 395.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006934/0.3849, allocations: 3.474 MB / 398.8 MB, free: 76 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.387, allocations: 0.7563 MB / 399.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.3905, allocations: 1.285 MB / 400.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.394, allocations: 1.47 MB / 402.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001369/0.3953, allocations: 328.9 kB / 402.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002654/0.398, allocations: 0.564 MB / 403.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001512/0.3995, allocations: 0.7406 MB / 404 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003758/0.4033, allocations: 1.403 MB / 405.4 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006682/0.41, allocations: 3.922 MB / 409.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.41, allocations: 0 / 409.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.41, allocations: 1.188 kB / 409.3 MB, free: 9.668 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.4102, allocations: 0 / 409.3 MB, free: 9.668 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.0104/0.4206, allocations: 3.085 MB / 412.4 MB, free: 7.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.4207, allocations: 13.22 kB / 412.4 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003749/0.4211, allocations: 273.2 kB / 412.7 MB, free: 7.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.4218, allocations: 280.8 kB / 412.9 MB, free: 7.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.4244, allocations: 1.373 MB / 414.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.4247, allocations: 246.2 kB / 414.5 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005372/0.4253, allocations: 238.3 kB / 414.8 MB, free: 5.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/0.4292, allocations: 2.165 MB / 416.9 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.64e-05/0.4293, allocations: 5.281 kB / 416.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.4295, allocations: 79.25 kB / 417 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.4296, allocations: 51.78 kB / 417.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004548/0.4341, allocations: 1.92 MB / 419 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.4474, allocations: 7.778 MB / 426.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.451, allocations: 2.081 MB / 428.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002931/0.4539, allocations: 1.59 MB / 430.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.4541, allocations: 25.98 kB / 430.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.731e-05/0.4541, allocations: 60.56 kB / 430.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=208): time 3.917e-06/0.4541, allocations: 0 / 430.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=250): time 0.05197/0.5061, allocations: 14.07 MB / 444.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/0.5063, allocations: 389.8 kB / 445 MB, free: 8.855 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002258/0.5086, allocations: 1.51 MB / 446.5 MB, free: 7.336 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003127/0.5089, allocations: 73.69 kB / 446.6 MB, free: 7.258 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/0.5095, allocations: 0.8237 MB / 447.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000721/0.5103, allocations: 0.8354 MB / 448.2 MB, free: 5.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006868/0.511, allocations: 416.5 kB / 448.6 MB, free: 5.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5111, allocations: 301.1 kB / 448.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.5132, allocations: 0.9963 MB / 449.9 MB, free: 3.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/0.5155, allocations: 1.256 MB / 451.2 MB, free: 2.543 MB / 366.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.04873/0.5643, allocations: 9.433 MB / 460.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.5643, allocations: 0 / 460.6 MB, free: 8.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.01025/0.5746, allocations: 2.94 MB / 463.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.5747, allocations: 11.94 kB / 463.6 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-05/0.5747, allocations: 4 kB / 463.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.5762, allocations: 349 kB / 463.9 MB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003774/0.58, allocations: 0.5461 MB / 464.5 MB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.5943, allocations: 10.94 MB / 475.4 MB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/0.5984, allocations: 128 kB / 475.5 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007779/0.5992, allocations: 83.95 kB / 475.6 MB, free: 9.082 MB / 398.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.002478/0.6017, allocations: 462 kB / 476 MB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/0.6032, allocations: 209.4 kB / 476.2 MB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/0.6136, allocations: 3.465 MB / 479.7 MB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/0.6137, allocations: 27.98 kB / 479.7 MB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.6137, allocations: 4.125 kB / 479.7 MB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-05/0.6137, allocations: 11.95 kB / 479.8 MB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.629, allocations: 6.277 MB / 486 MB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.6291, allocations: 0 / 486 MB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002243/0.6313, allocations: 427.4 kB / 486.5 MB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005791/0.6371, allocations: 1.206 MB / 487.7 MB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003517/0.6375, allocations: 63.97 kB / 487.7 MB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02281/0.6603, allocations: 18.89 MB / 0.4947 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6604, allocations: 0 / 0.4947 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01227/0.6726, allocations: 4.932 MB / 0.4996 GB, free: 3.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001716/0.6744, allocations: 0.5256 MB / 0.5001 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008438/0.6753, allocations: 59.98 kB / 0.5001 GB, free: 2.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00249/0.6778, allocations: 131.9 kB / 0.5002 GB, free: 2.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006421/0.6784, allocations: 209.6 kB / 0.5004 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002262/0.6787, allocations: 71.98 kB / 0.5005 GB, free: 2.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001901/0.6806, allocations: 1.037 MB / 0.5015 GB, free: 1.445 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6806, allocations: 4 kB / 0.5015 GB, free: 1.441 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003994/0.6846, allocations: 0.6953 MB / 0.5022 GB, free: 0.7461 MB / 430.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.01233/0.697, allocations: 5.62 MB / 0.5077 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00638/0.7034, allocations: 3.36 MB / 0.511 GB, free: 7.512 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.7034, allocations: 4 kB / 0.511 GB, free: 7.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003917/0.7073, allocations: 2.605 MB / 0.5135 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00249/0.7099, allocations: 382.5 kB / 0.5139 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03455/0.7444, allocations: 19.44 MB / 0.5329 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.7458, allocations: 1.565 MB / 0.5344 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001363/0.7471, allocations: 291.8 kB / 0.5347 GB, free: 14.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001284/0.7484, allocations: 0.9093 MB / 0.5356 GB, free: 13.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/0.7485, allocations: 4 kB / 0.5356 GB, free: 13.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3176/1.066, allocations: 59.41 MB / 0.5936 GB, free: 132.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.97, allocations: 17.25 kB / 0.5936 GB, free: 132.2 MB / 478.1 MB (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 --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)