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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 172.2 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 90.69 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 4 kB / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07922/0.07926, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2942/0.3735, allocations: 111 MB / 481.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.3738, allocations: 81.58 kB / 481.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1404/0.5142, allocations: 53.22 MB / 0.5219 GB, free: 10.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.231e-06/0.5142, allocations: 0 / 0.5219 GB, free: 10.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001041/0.5143, allocations: 55.92 kB / 0.522 GB, free: 10.13 MB / 410.7 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.004315/0.5186, allocations: 2.239 MB / 0.5242 GB, free: 7.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.5187, allocations: 8.031 kB / 0.5242 GB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003042/0.519, allocations: 270.4 kB / 0.5244 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/0.5194, allocations: 272.8 kB / 0.5247 GB, free: 7.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002063/0.5214, allocations: 1.362 MB / 0.526 GB, free: 5.867 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001984/0.5217, allocations: 244.8 kB / 0.5263 GB, free: 5.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004956/0.5222, allocations: 235.9 kB / 0.5265 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003135/0.5253, allocations: 2.082 MB / 0.5285 GB, free: 3.207 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.5254, allocations: 3.984 kB / 0.5285 GB, free: 3.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.5255, allocations: 84 kB / 0.5286 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.872e-05/0.5256, allocations: 48 kB / 0.5286 GB, free: 3.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.5284, allocations: 1.741 MB / 0.5303 GB, free: 1.332 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/0.7211, allocations: 7.91 MB / 0.5381 GB, free: 99.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002904/0.7241, allocations: 1.951 MB / 0.54 GB, free: 99.31 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.7262, allocations: 1.352 MB / 0.5413 GB, free: 99.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.7263, allocations: 29.58 kB / 0.5413 GB, free: 99.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.7263, allocations: 64.77 kB / 0.5414 GB, free: 99.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=208): time 3.857e-06/0.7263, allocations: 0 / 0.5414 GB, free: 99.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.04299/0.7693, allocations: 12.63 MB / 0.5537 GB, free: 97.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/0.7695, allocations: 392.4 kB / 0.5541 GB, free: 97.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001718/0.7712, allocations: 1.32 MB / 0.5554 GB, free: 97.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.7714, allocations: 69.84 kB / 0.5555 GB, free: 97.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.7718, allocations: 0.8011 MB / 0.5562 GB, free: 96.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004813/0.7723, allocations: 0.8316 MB / 0.557 GB, free: 96.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.7724, allocations: 51.42 kB / 0.5571 GB, free: 96.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.918e-05/0.7725, allocations: 393.3 kB / 0.5575 GB, free: 95.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.7738, allocations: 0.9112 MB / 0.5584 GB, free: 95.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.7752, allocations: 1.149 MB / 0.5595 GB, free: 94.78 MB / 410.7 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.02357/0.7988, allocations: 7.106 MB / 0.5664 GB, free: 92.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.7988, allocations: 0 / 0.5664 GB, free: 92.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01854/0.8174, allocations: 5.856 MB / 0.5721 GB, free: 91.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.8174, allocations: 11.33 kB / 0.5721 GB, free: 91.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/0.8175, allocations: 17.19 kB / 0.5722 GB, free: 91.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01637/0.8338, allocations: 3.593 MB / 0.5757 GB, free: 90.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/0.8357, allocations: 379.5 kB / 0.576 GB, free: 90.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03358/0.8693, allocations: 24.62 MB / 0.6001 GB, free: 69.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/0.8717, allocations: 142.2 kB / 0.6002 GB, free: 69.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.8719, allocations: 85.56 kB / 0.6003 GB, free: 69.59 MB / 410.7 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] = $START.transformer.H[1] transformer.H[3] = $START.transformer.H[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 180 * 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: 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 19,1 20,1 20,2 7,2 7,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004403/0.8724, allocations: 232.7 kB / 0.6005 GB, free: 69.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003536/0.8727, allocations: 205.6 kB / 0.6007 GB, free: 69.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/0.8788, allocations: 3.23 MB / 0.6039 GB, free: 66.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.8789, allocations: 24 kB / 0.6039 GB, free: 66.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.8789, allocations: 8 kB / 0.6039 GB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.8789, allocations: 14.78 kB / 0.6039 GB, free: 66.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.8892, allocations: 6.09 MB / 0.6099 GB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/0.8892, allocations: 4 kB / 0.6099 GB, free: 61.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/0.8911, allocations: 434.8 kB / 0.6103 GB, free: 60.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004754/0.8959, allocations: 1.202 MB / 0.6115 GB, free: 59.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.8961, allocations: 66.03 kB / 0.6115 GB, free: 59.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/0.9104, allocations: 16.95 MB / 0.6281 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.9104, allocations: 0 / 0.6281 GB, free: 42.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008441/0.9189, allocations: 4.761 MB / 0.6327 GB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009004/0.9198, allocations: 0.532 MB / 0.6332 GB, free: 37.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.9201, allocations: 63.84 kB / 0.6333 GB, free: 37.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/0.9218, allocations: 158.2 kB / 0.6334 GB, free: 37.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/0.9222, allocations: 198.5 kB / 0.6336 GB, free: 37.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.9224, allocations: 71.94 kB / 0.6337 GB, free: 37.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00113/0.9235, allocations: 1.013 MB / 0.6347 GB, free: 36.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9235, allocations: 0 / 0.6347 GB, free: 36.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002501/0.926, allocations: 0.778 MB / 0.6355 GB, free: 35.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (transformer.Phi[1],transformer.Phi[2],transformer.Phi[3],transformer.core1.Hstat,transformer.core2.Hstat,transformer.core3.Hstat,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 194 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008559/0.9346, allocations: 5.704 MB / 0.641 GB, free: 30.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004887/0.9395, allocations: 3.745 MB / 0.6447 GB, free: 26.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.9395, allocations: 4 kB / 0.6447 GB, free: 26.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003123/0.9426, allocations: 2.495 MB / 0.6471 GB, free: 23.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002139/0.9448, allocations: 325.5 kB / 0.6474 GB, free: 23.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/0.9526, allocations: 4.878 MB / 0.6522 GB, free: 19.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000942/0.9536, allocations: 1.64 MB / 0.6538 GB, free: 17.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001062/0.9547, allocations: 263.8 kB / 0.654 GB, free: 17.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.9557, allocations: 0.8905 MB / 0.6549 GB, free: 16.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.9557, allocations: 0 / 0.6549 GB, free: 16.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2647/1.22, allocations: 61.32 MB / 0.7148 GB, free: 103.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/1.221, allocations: 216.6 kB / 0.715 GB, free: 103.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.814/5.034, allocations: 0 / 0.715 GB, free: 103.3 MB / 426.7 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)