Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 188.4 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.7 MB / 253.3 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 47.92 kB / 371.2 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 52.18 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01177/0.2668, allocations: 9.128 MB / 432.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.2794, allocations: 5.99 MB / 438.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.2815, allocations: 47.69 kB / 438.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.2835, allocations: 499.8 kB / 439 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.2874, allocations: 0.9232 MB / 439.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006384/0.2938, allocations: 2.509 MB / 442.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005125/0.2989, allocations: 3.469 MB / 445.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.3002, allocations: 0.5228 MB / 446.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002364/0.3026, allocations: 1.316 MB / 447.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.3052, allocations: 1.467 MB / 449.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.3063, allocations: 332 kB / 449.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.3082, allocations: 0.6088 MB / 450.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.3096, allocations: 0.7437 MB / 450.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002724/0.3123, allocations: 1.163 MB / 452.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00612/0.3184, allocations: 3.97 MB / 456 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3184, allocations: 0 / 456 MB, free: 13.6 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3184, allocations: 0 / 456 MB, free: 13.6 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001496/0.3186, allocations: 0 / 456 MB, free: 13.6 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.009608/0.3282, allocations: 3.083 MB / 459.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3282, allocations: 8.031 kB / 459.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.113e-05/0.3283, allocations: 52.02 kB / 459.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004968/0.3288, allocations: 270.6 kB / 459.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.3295, allocations: 291.2 kB / 459.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.332, allocations: 1.322 MB / 461.1 MB, free: 8.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003529/0.3323, allocations: 403.5 kB / 461.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005948/0.3329, allocations: 239.8 kB / 461.7 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004473/0.3374, allocations: 2.646 MB / 464.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.971e-05/0.3374, allocations: 3.938 kB / 464.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.3376, allocations: 84 kB / 464.4 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.364e-05/0.3377, allocations: 52 kB / 464.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00417/0.3418, allocations: 1.92 MB / 466.4 MB, free: 2.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01259/0.3544, allocations: 7.031 MB / 473.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003607/0.358, allocations: 1.977 MB / 475.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/0.361, allocations: 1.469 MB / 476.9 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.593e-05/0.3611, allocations: 22 kB / 476.9 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.373e-05/0.3611, allocations: 68.48 kB / 476.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 4.699e-06/0.3611, allocations: 0 / 476.9 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05236/0.4135, allocations: 13.68 MB / 490.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002522/0.4138, allocations: 397.8 kB / 491 MB, free: 9.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.4162, allocations: 1.514 MB / 492.5 MB, free: 8.328 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003015/0.4165, allocations: 77.7 kB / 492.6 MB, free: 8.246 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/0.4172, allocations: 0.833 MB / 493.4 MB, free: 7.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008405/0.4181, allocations: 0.883 MB / 494.3 MB, free: 6.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007312/0.4188, allocations: 412.6 kB / 494.7 MB, free: 6.105 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.419, allocations: 309.1 kB / 495 MB, free: 5.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/0.4211, allocations: 0.9924 MB / 496 MB, free: 4.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.4236, allocations: 1.482 MB / 497.5 MB, free: 3.199 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.0338/0.4574, allocations: 9.282 MB / 0.4949 GB, free: 9.824 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4574, allocations: 0 / 0.4949 GB, free: 9.824 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.00621/0.4636, allocations: 2.937 MB / 0.4978 GB, free: 6.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.4636, allocations: 4 kB / 0.4978 GB, free: 6.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.4637, allocations: 8 kB / 0.4978 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.4647, allocations: 348.9 kB / 0.4981 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.4674, allocations: 0.5539 MB / 0.4987 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/0.4772, allocations: 10.26 MB / 0.5087 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002437/0.4797, allocations: 135.9 kB / 0.5088 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.4799, allocations: 79.95 kB / 0.5089 GB, free: 10.75 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.001182/0.4811, allocations: 469.3 kB / 0.5093 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.4816, allocations: 226.6 kB / 0.5095 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008545/0.4901, allocations: 3.434 MB / 0.5129 GB, free: 6.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.902e-05/0.4902, allocations: 28 kB / 0.5129 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4902, allocations: 4 kB / 0.5129 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.4902, allocations: 11.95 kB / 0.5129 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01365/0.5038, allocations: 5.723 MB / 0.5185 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.5039, allocations: 4 kB / 0.5185 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/0.5059, allocations: 423.4 kB / 0.5189 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005804/0.5117, allocations: 1.198 MB / 0.5201 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/0.5119, allocations: 67.97 kB / 0.5202 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02237/0.5343, allocations: 17.75 MB / 0.5375 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/0.5343, allocations: 8.562 kB / 0.5375 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/0.5457, allocations: 4.906 MB / 0.5423 GB, free: 7.117 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.5471, allocations: 478.2 kB / 0.5428 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/0.5475, allocations: 63.92 kB / 0.5428 GB, free: 6.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/0.5493, allocations: 135.9 kB / 0.543 GB, free: 6.453 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000598/0.5499, allocations: 213.6 kB / 0.5432 GB, free: 6.242 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001695/0.5501, allocations: 75.97 kB / 0.5432 GB, free: 6.168 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001558/0.5516, allocations: 1.041 MB / 0.5442 GB, free: 5.129 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5516, allocations: 0 / 0.5442 GB, free: 5.129 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002707/0.5543, allocations: 0.699 MB / 0.5449 GB, free: 4.43 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.1948/0.7492, allocations: 5.611 MB / 0.5504 GB, free: 123.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005381/0.7546, allocations: 3.236 MB / 0.5536 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.7546, allocations: 3.844 kB / 0.5536 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003176/0.7577, allocations: 2.51 MB / 0.556 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.001941/0.7597, allocations: 390.1 kB / 0.5564 GB, free: 120.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/0.784, allocations: 19.51 MB / 0.5754 GB, free: 106.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007785/0.7848, allocations: 1 MB / 0.5764 GB, free: 105.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001083/0.7859, allocations: 295.8 kB / 0.5767 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.7869, allocations: 0.9093 MB / 0.5776 GB, free: 104.2 MB / 462.1 MB Notification: Performance of SimCode: time 7.21e-07/0.7869, allocations: 0 / 0.5776 GB, free: 104.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/0.8883, allocations: 59.71 MB / 0.6359 GB, free: 45.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/17.78, allocations: 0 / 0.6359 GB, free: 45.08 MB / 462.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.555412205983885] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 17.9876188270282 17.996376025 17.675640114 Calling exit ...