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.00091/0.0009101, allocations: 93.06 kB / 16.93 MB, free: 5.977 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.0008711/0.0008712, allocations: 184.8 kB / 17.82 MB, free: 5.641 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.239/1.239, allocations: 205.4 MB / 224 MB, free: 13.16 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.000434/0.0004341, allocations: 16 kB / 280.9 MB, free: 3.648 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08271/0.08316, allocations: 47.57 MB / 328.4 MB, free: 4.008 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.00812/0.09132, allocations: 8.416 MB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009339/0.1007, allocations: 6.171 MB / 343 MB, free: 5.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.102, allocations: 39.81 kB / 343.1 MB, free: 5.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009532/0.103, allocations: 389.6 kB / 343.4 MB, free: 4.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.105, allocations: 0.8841 MB / 344.3 MB, free: 4.062 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.1092, allocations: 1.762 MB / 346.1 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003232/0.1124, allocations: 2.113 MB / 348.2 MB, free: 188 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008273/0.1132, allocations: 0.5924 MB / 348.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.1146, allocations: 1.032 MB / 349.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.1161, allocations: 1.218 MB / 351 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.1164, allocations: 148 kB / 351.2 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000783/0.1172, allocations: 371.7 kB / 351.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.1177, allocations: 0.5255 MB / 352.1 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004639/0.1182, allocations: 472.5 kB / 352.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.1206, allocations: 2.976 MB / 355.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1207, allocations: 0 / 355.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1207, allocations: 0 / 355.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.434e-05/0.1207, allocations: 0 / 355.5 MB, free: 8.82 MB / 302.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.00633/0.1271, allocations: 2.67 MB / 358.2 MB, free: 6.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1271, allocations: 8.031 kB / 358.2 MB, free: 6.082 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004461/0.1276, allocations: 274.4 kB / 358.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/0.1281, allocations: 280.7 kB / 358.7 MB, free: 5.527 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00198/0.1301, allocations: 1.295 MB / 360 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.1303, allocations: 240.9 kB / 360.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005037/0.1308, allocations: 243.8 kB / 360.5 MB, free: 3.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003671/0.1345, allocations: 2.15 MB / 362.6 MB, free: 1.457 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.145e-05/0.1345, allocations: 7.906 kB / 362.7 MB, free: 1.449 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.1347, allocations: 87.94 kB / 362.7 MB, free: 1.363 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.1348, allocations: 51.94 kB / 362.8 MB, free: 1.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003771/0.1386, allocations: 1.943 MB / 364.7 MB, free: 15.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.1505, allocations: 7.876 MB / 372.6 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.1539, allocations: 2.115 MB / 374.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.807e-05/0.154, allocations: 22 kB / 374.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.154, allocations: 64.5 kB / 374.8 MB, free: 5.016 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.626e-06/0.154, allocations: 4 kB / 374.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.1949/0.349, allocations: 14.77 MB / 389.6 MB, free: 48.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.471e-05/0.3491, allocations: 395.5 kB / 390 MB, free: 47.95 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.3511, allocations: 1.494 MB / 391.5 MB, free: 47.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.3514, allocations: 70.83 kB / 391.5 MB, free: 47.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/0.3519, allocations: 0.826 MB / 392.4 MB, free: 46.63 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/0.3525, allocations: 0.8342 MB / 393.2 MB, free: 45.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3526, allocations: 45.62 kB / 393.2 MB, free: 45.94 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3527, allocations: 399.7 kB / 393.6 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/0.3547, allocations: 1.012 MB / 394.6 MB, free: 45.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002018/0.3567, allocations: 1.267 MB / 395.9 MB, free: 44.61 MB / 318.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.02633/0.3831, allocations: 7.475 MB / 403.4 MB, free: 40.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3831, allocations: 0 / 403.4 MB, free: 40.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.004975/0.3881, allocations: 2.973 MB / 406.3 MB, free: 37.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.3881, allocations: 4 kB / 406.4 MB, free: 37.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.3882, allocations: 11.94 kB / 406.4 MB, free: 37.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000833/0.389, allocations: 356 kB / 406.7 MB, free: 36.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0024/0.3914, allocations: 0.5462 MB / 407.3 MB, free: 36.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006262/0.3977, allocations: 10.11 MB / 417.4 MB, free: 25.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.4003, allocations: 144 kB / 417.5 MB, free: 25.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.4006, allocations: 80.67 kB / 417.6 MB, free: 25.07 MB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001057/0.4016, allocations: 467.6 kB / 418 MB, free: 24.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004457/0.4021, allocations: 205.6 kB / 418.2 MB, free: 24.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007304/0.4094, allocations: 3.533 MB / 421.8 MB, free: 20.79 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.4094, allocations: 24 kB / 421.8 MB, free: 20.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.4094, allocations: 8 kB / 421.8 MB, free: 20.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/0.4095, allocations: 19.88 kB / 421.8 MB, free: 20.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/0.4207, allocations: 6.272 MB / 428.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.4207, allocations: 0 / 428.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/0.4226, allocations: 427.5 kB / 428.5 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005362/0.4279, allocations: 1.268 MB / 429.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000265/0.4282, allocations: 59.97 kB / 429.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/0.4492, allocations: 17.66 MB / 447.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4493, allocations: 64 / 447.5 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01782/0.4671, allocations: 5.056 MB / 452.6 MB, free: 4.594 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/0.4692, allocations: 0.5256 MB / 453.1 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005895/0.4698, allocations: 56 kB / 453.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002973/0.4728, allocations: 159.9 kB / 453.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006897/0.4735, allocations: 201.7 kB / 453.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002369/0.4738, allocations: 71.98 kB / 453.6 MB, free: 3.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002341/0.4761, allocations: 1.033 MB / 454.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4762, allocations: 2.516 kB / 454.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004466/0.4806, allocations: 0.6955 MB / 455.3 MB, free: 1.848 MB / 334.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 (202): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01832/0.499, allocations: 5.95 MB / 461.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.009166/0.5082, allocations: 3.405 MB / 464.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.5082, allocations: 0 / 464.6 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006091/0.5144, allocations: 2.635 MB / 467.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.5163, allocations: 327.7 kB / 467.6 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.5282, allocations: 8.673 MB / 476.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.5295, allocations: 1.612 MB / 477.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.5308, allocations: 291.8 kB / 478.2 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.5321, allocations: 0.9093 MB / 479.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5321, allocations: 0 / 479.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08022/0.6123, allocations: 52.24 MB / 0.5189 GB, free: 5.16 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000305/0.6126, allocations: 247.8 kB / 0.5191 GB, free: 4.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.546/4.159, allocations: 0 / 0.5191 GB, free: 4.824 MB / 414.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/linux/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) Environment - environmentSimulation: