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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001128/0.001128, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002708/0.002708, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.273, allocations: 50.55 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01039/0.2835, allocations: 10.58 MB / 419.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01026/0.2938, allocations: 6.383 MB / 425.7 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.2959, allocations: 39.81 kB / 425.8 MB, free: 464 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001835/0.2977, allocations: 488 kB / 426.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.3011, allocations: 0.9036 MB / 427.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006447/0.3076, allocations: 2.535 MB / 429.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00631/0.3139, allocations: 3.469 MB / 433.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001806/0.3157, allocations: 0.7605 MB / 433.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002967/0.3187, allocations: 1.289 MB / 435.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002787/0.3215, allocations: 1.467 MB / 436.7 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001169/0.3227, allocations: 328 kB / 437 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.325, allocations: 0.5738 MB / 437.6 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.3266, allocations: 0.7399 MB / 438.3 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003282/0.3299, allocations: 1.411 MB / 439.7 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.3365, allocations: 3.933 MB / 443.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.969e-06/0.3365, allocations: 4 kB / 443.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3366, allocations: 0 / 443.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001706/0.3367, allocations: 0 / 443.7 MB, free: 14.48 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.01083/0.3476, allocations: 3.079 MB / 446.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.3476, allocations: 12.03 kB / 446.7 MB, free: 11.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007897/0.3484, allocations: 274.6 kB / 447 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.3498, allocations: 305.6 kB / 447.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.3536, allocations: 1.397 MB / 448.7 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.3539, allocations: 241.5 kB / 448.9 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008232/0.3547, allocations: 235.8 kB / 449.2 MB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00559/0.3603, allocations: 2.168 MB / 451.3 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.952e-05/0.3604, allocations: 4 kB / 451.4 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000297/0.3607, allocations: 80 kB / 451.4 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.147e-05/0.3608, allocations: 44 kB / 451.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/0.3652, allocations: 1.924 MB / 453.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.3788, allocations: 7.786 MB / 461.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.3825, allocations: 2.076 MB / 463.3 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/0.3856, allocations: 1.59 MB / 464.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.3858, allocations: 29.97 kB / 464.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.583e-05/0.3858, allocations: 64.5 kB / 464.9 MB, free: 8.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.047e-06/0.3858, allocations: 4 kB / 464.9 MB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05482/0.4407, allocations: 14.07 MB / 479 MB, free: 10.44 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.4409, allocations: 389.8 kB / 479.4 MB, free: 9.973 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002405/0.4433, allocations: 1.519 MB / 480.9 MB, free: 8.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003398/0.4437, allocations: 73.7 kB / 481 MB, free: 8.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005756/0.4442, allocations: 0.8237 MB / 481.8 MB, free: 7.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008663/0.4451, allocations: 0.8354 MB / 482.6 MB, free: 6.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.4461, allocations: 412.5 kB / 483.1 MB, free: 6.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4463, allocations: 305.1 kB / 483.3 MB, free: 5.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.4487, allocations: 1 MB / 484.3 MB, free: 4.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.4511, allocations: 1.26 MB / 485.6 MB, free: 3.641 MB / 398.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.03418/0.4852, allocations: 9.421 MB / 495 MB, free: 10.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.4853, allocations: 0 / 495 MB, free: 10.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006586/0.4919, allocations: 2.948 MB / 498 MB, free: 7.082 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4919, allocations: 7.938 kB / 498 MB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/0.492, allocations: 8 kB / 498 MB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/0.4929, allocations: 345 kB / 498.3 MB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.4956, allocations: 0.55 MB / 498.9 MB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008967/0.5046, allocations: 10.95 MB / 0.4979 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002484/0.5071, allocations: 127.9 kB / 0.498 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004695/0.5076, allocations: 88.34 kB / 0.4981 GB, free: 10.17 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.001477/0.5091, allocations: 480.7 kB / 0.4985 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/0.5099, allocations: 209.5 kB / 0.4987 GB, free: 9.484 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009263/0.5192, allocations: 3.465 MB / 0.5021 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.5193, allocations: 24 kB / 0.5022 GB, free: 5.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/0.5193, allocations: 4 kB / 0.5022 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/0.5193, allocations: 11.95 kB / 0.5022 GB, free: 5.891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.5342, allocations: 6.266 MB / 0.5083 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.5342, allocations: 3.984 kB / 0.5083 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/0.5363, allocations: 431.4 kB / 0.5087 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005874/0.5422, allocations: 1.19 MB / 0.5099 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/0.5425, allocations: 63.97 kB / 0.5099 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/0.5647, allocations: 18.88 MB / 0.5284 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5648, allocations: 0 / 0.5284 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.5776, allocations: 4.928 MB / 0.5332 GB, free: 4.594 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/0.579, allocations: 0.5334 MB / 0.5337 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005982/0.5796, allocations: 60 kB / 0.5338 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002127/0.5818, allocations: 127.9 kB / 0.5339 GB, free: 3.855 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005397/0.5823, allocations: 205.7 kB / 0.5341 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.5825, allocations: 71.98 kB / 0.5341 GB, free: 3.582 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00167/0.5842, allocations: 1.045 MB / 0.5352 GB, free: 2.539 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5842, allocations: 0 / 0.5352 GB, free: 2.539 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003061/0.5873, allocations: 0.6953 MB / 0.5358 GB, free: 1.844 MB / 462.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.2497/0.837, allocations: 5.624 MB / 0.5413 GB, free: 123.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005296/0.8424, allocations: 3.364 MB / 0.5446 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.8424, allocations: 1.906 kB / 0.5446 GB, free: 122.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00335/0.8458, allocations: 2.608 MB / 0.5472 GB, free: 120.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.8481, allocations: 380.9 kB / 0.5475 GB, free: 120.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02607/0.8742, allocations: 19.48 MB / 0.5666 GB, free: 106.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/0.8751, allocations: 1.566 MB / 0.5681 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001181/0.8763, allocations: 299.8 kB / 0.5684 GB, free: 104.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.8774, allocations: 0.9209 MB / 0.5693 GB, free: 103.7 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.8774, allocations: 0 / 0.5693 GB, free: 103.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/0.9831, allocations: 59.53 MB / 0.6274 GB, free: 44.63 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.37/17.35, allocations: 12.36 kB / 0.6274 GB, free: 44.62 MB / 462.1 MB (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 --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)