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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001293/0.001293, allocations: 120.1 kB / 18.5 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 222.3 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 59.91 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1117, allocations: 53.39 MB / 427.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.2157/0.3274, allocations: 10.62 MB / 437.7 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009726/0.3371, allocations: 6.42 MB / 444.1 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/0.339, allocations: 48.03 kB / 444.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3402, allocations: 492.5 kB / 444.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002527/0.3427, allocations: 0.9297 MB / 445.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006194/0.3489, allocations: 2.522 MB / 448.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005699/0.3546, allocations: 3.482 MB / 451.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009884/0.3556, allocations: 0.5301 MB / 452.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.358, allocations: 1.326 MB / 453.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.3602, allocations: 1.479 MB / 454.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004694/0.3607, allocations: 332.2 kB / 455.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3619, allocations: 0.5754 MB / 455.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006906/0.3626, allocations: 0.7423 MB / 456.6 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.3641, allocations: 1.407 MB / 458 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.3692, allocations: 3.957 MB / 461.9 MB, free: 8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3692, allocations: 0 / 461.9 MB, free: 8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3692, allocations: 0 / 461.9 MB, free: 8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.246e-05/0.3693, allocations: 0 / 461.9 MB, free: 8 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.008771/0.378, allocations: 3.171 MB / 465.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.3781, allocations: 10.53 kB / 465.1 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.456e-05/0.3782, allocations: 50.08 kB / 465.2 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003612/0.3785, allocations: 277 kB / 465.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009276/0.3795, allocations: 324.2 kB / 465.7 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.3819, allocations: 1.398 MB / 467.1 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002644/0.3822, allocations: 247.1 kB / 467.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005518/0.3827, allocations: 228.5 kB / 467.6 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004025/0.3868, allocations: 2.171 MB / 469.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/0.3868, allocations: 1.031 kB / 469.8 MB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001861/0.387, allocations: 79.59 kB / 469.9 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/0.387, allocations: 51.53 kB / 469.9 MB, free: 2.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004056/0.3911, allocations: 1.925 MB / 471.8 MB, free: 1.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.4037, allocations: 7.797 MB / 479.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/0.4074, allocations: 1.973 MB / 481.6 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003078/0.4105, allocations: 1.477 MB / 483.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.4106, allocations: 25.98 kB / 483.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.4107, allocations: 68.5 kB / 483.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.807e-06/0.4107, allocations: 0 / 483.2 MB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05338/0.4641, allocations: 14.14 MB / 497.3 MB, free: 9.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002521/0.4643, allocations: 389.8 kB / 497.7 MB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.4669, allocations: 1.522 MB / 499.2 MB, free: 7.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000328/0.4672, allocations: 73.7 kB / 499.3 MB, free: 7.734 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007308/0.4679, allocations: 0.8448 MB / 0.4884 GB, free: 6.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000873/0.4688, allocations: 0.8714 MB / 0.4893 GB, free: 6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007569/0.4696, allocations: 408.6 kB / 0.4896 GB, free: 5.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4697, allocations: 305.1 kB / 0.4899 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.4719, allocations: 1.004 MB / 0.4909 GB, free: 4.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.4744, allocations: 1.256 MB / 0.4921 GB, free: 2.961 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.03381/0.5082, allocations: 9.429 MB / 0.5014 GB, free: 9.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.5082, allocations: 1.125 kB / 0.5014 GB, free: 9.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00658/0.5148, allocations: 2.941 MB / 0.5042 GB, free: 6.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.5148, allocations: 8 kB / 0.5042 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.042e-05/0.5149, allocations: 7.984 kB / 0.5042 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.5159, allocations: 353 kB / 0.5046 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002713/0.5186, allocations: 0.5461 MB / 0.5051 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.5293, allocations: 10.95 MB / 0.5158 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.532, allocations: 132.1 kB / 0.5159 GB, free: 9.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003495/0.5323, allocations: 83.94 kB / 0.516 GB, free: 9.484 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.001195/0.5335, allocations: 480.2 kB / 0.5165 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005814/0.5341, allocations: 222.6 kB / 0.5167 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009075/0.5432, allocations: 3.43 MB / 0.52 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.5432, allocations: 24 kB / 0.5201 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5432, allocations: 4 kB / 0.5201 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.24e-05/0.5432, allocations: 15.95 kB / 0.5201 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/0.5586, allocations: 6.247 MB / 0.5262 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.5586, allocations: 0 / 0.5262 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/0.5608, allocations: 431.4 kB / 0.5266 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005859/0.5667, allocations: 1.194 MB / 0.5278 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003769/0.567, allocations: 59.98 kB / 0.5278 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02428/0.5913, allocations: 18.9 MB / 0.5463 GB, free: 8.988 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.5913, allocations: 4.031 kB / 0.5463 GB, free: 8.984 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.6034, allocations: 4.906 MB / 0.5511 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.6049, allocations: 0.5423 MB / 0.5516 GB, free: 3.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003701/0.6052, allocations: 56 kB / 0.5516 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001948/0.6072, allocations: 135.9 kB / 0.5518 GB, free: 3.207 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005846/0.6078, allocations: 197.7 kB / 0.552 GB, free: 3.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/0.6079, allocations: 75.97 kB / 0.552 GB, free: 2.938 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001653/0.6096, allocations: 1.045 MB / 0.5531 GB, free: 1.895 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6096, allocations: 0 / 0.5531 GB, free: 1.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003021/0.6126, allocations: 0.7029 MB / 0.5537 GB, free: 1.191 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.01221/0.6248, allocations: 5.615 MB / 0.5592 GB, free: 11.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006655/0.6315, allocations: 3.239 MB / 0.5624 GB, free: 8.082 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.6315, allocations: 4 kB / 0.5624 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004518/0.636, allocations: 2.511 MB / 0.5648 GB, free: 5.445 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002803/0.6388, allocations: 388.3 kB / 0.5652 GB, free: 5.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03768/0.6765, allocations: 19.55 MB / 0.5843 GB, free: 1.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.678, allocations: 1.565 MB / 0.5858 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001457/0.6795, allocations: 291.9 kB / 0.5861 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/0.6811, allocations: 0.9209 MB / 0.587 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of SimCode: time 1.012e-06/0.6811, allocations: 4 kB / 0.587 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3753/1.056, allocations: 58.65 MB / 0.6443 GB, free: 165.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.05/18.1, allocations: 11.59 kB / 0.6443 GB, free: 165.2 MB / 0.5137 GB " [Timeout remaining time 642] (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 --stepSize=0.0001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.734809999004938] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.29066482797498 18.304685587 17.933294575 Calling exit ...