Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001667/0.001667, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002011/0.002011, allocations: 217.5 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.474/1.474, allocations: 230.5 MB / 256.5 MB, free: 8.406 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 71.83 kB / 376.2 MB, free: 4.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2979, allocations: 53.31 MB / 429.5 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01293/0.3109, allocations: 10.66 MB / 440.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.3241, allocations: 6.425 MB / 446.6 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002196/0.3263, allocations: 39.81 kB / 446.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.3281, allocations: 499.8 kB / 447.2 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.3314, allocations: 0.9271 MB / 448.1 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00562/0.3371, allocations: 2.447 MB / 450.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005239/0.3423, allocations: 3.485 MB / 454 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.3434, allocations: 0.5263 MB / 454.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.3457, allocations: 1.289 MB / 455.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002283/0.348, allocations: 1.478 MB / 457.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005591/0.3485, allocations: 328 kB / 457.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.3498, allocations: 0.5777 MB / 458.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007542/0.3505, allocations: 0.7359 MB / 458.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001796/0.3523, allocations: 1.411 MB / 460.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004968/0.3573, allocations: 3.958 MB / 464.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3573, allocations: 0 / 464.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3573, allocations: 0 / 464.3 MB, free: 4.496 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001005/0.3574, allocations: 0 / 464.3 MB, free: 4.496 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.008499/0.3659, allocations: 3.158 MB / 467.5 MB, free: 1.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3659, allocations: 11.97 kB / 467.5 MB, free: 1.262 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004043/0.3663, allocations: 278.6 kB / 467.8 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/0.3672, allocations: 315.1 kB / 468.1 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.3698, allocations: 1.398 MB / 469.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.37, allocations: 249.5 kB / 469.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006094/0.3706, allocations: 239.8 kB / 469.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/0.3749, allocations: 2.162 MB / 472.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.375, allocations: 7.938 kB / 472.1 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.3752, allocations: 76 kB / 472.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.417e-05/0.3752, allocations: 51.94 kB / 472.2 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/0.3798, allocations: 1.924 MB / 474.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01468/0.3945, allocations: 7.792 MB / 481.9 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003895/0.3984, allocations: 1.967 MB / 483.9 MB, free: 412 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0033/0.4017, allocations: 1.489 MB / 485.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.4018, allocations: 22 kB / 485.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/0.4019, allocations: 64.5 kB / 485.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=208): time 4.077e-06/0.4019, allocations: 4 kB / 485.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=250): time 0.0547/0.4566, allocations: 14.15 MB / 499.6 MB, free: 0.4961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000253/0.4568, allocations: 393.8 kB / 0.4883 GB, free: 24 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.4595, allocations: 1.523 MB / 0.4898 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004899/0.46, allocations: 69.7 kB / 0.4899 GB, free: 14.42 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000742/0.4607, allocations: 0.837 MB / 0.4907 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009437/0.4617, allocations: 0.8792 MB / 0.4915 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007357/0.4624, allocations: 412.6 kB / 0.4919 GB, free: 12.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4625, allocations: 301.1 kB / 0.4922 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.4649, allocations: 0.9963 MB / 0.4932 GB, free: 10.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/0.4674, allocations: 1.268 MB / 0.4944 GB, free: 9.641 MB / 414.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.03495/0.5024, allocations: 9.425 MB / 0.5036 GB, free: 92 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.427e-06/0.5024, allocations: 4 kB / 0.5036 GB, free: 88 kB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006887/0.5093, allocations: 2.933 MB / 0.5065 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.5093, allocations: 16.03 kB / 0.5065 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/0.5094, allocations: 7.984 kB / 0.5065 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.5104, allocations: 352.8 kB / 0.5069 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.513, allocations: 0.5461 MB / 0.5074 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01112/0.5241, allocations: 10.96 MB / 0.5181 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002497/0.5266, allocations: 128 kB / 0.5182 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003952/0.527, allocations: 79.97 kB / 0.5183 GB, free: 168 kB / 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.001494/0.5285, allocations: 465.4 kB / 0.5187 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006799/0.5292, allocations: 222.6 kB / 0.5189 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009094/0.5383, allocations: 3.43 MB / 0.5223 GB, free: 11.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/0.5383, allocations: 24 kB / 0.5223 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.5383, allocations: 7.984 kB / 0.5223 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.658e-05/0.5384, allocations: 15.95 kB / 0.5223 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.553, allocations: 6.247 MB / 0.5284 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/0.553, allocations: 0 / 0.5284 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/0.5553, allocations: 427.5 kB / 0.5288 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005646/0.5609, allocations: 1.198 MB / 0.53 GB, free: 3.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003898/0.5613, allocations: 63.97 kB / 0.5301 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2437/0.805, allocations: 18.89 MB / 0.5485 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.805, allocations: 1.156 kB / 0.5485 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/0.8163, allocations: 4.915 MB / 0.5533 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.8176, allocations: 0.5406 MB / 0.5539 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004012/0.818, allocations: 61.38 kB / 0.5539 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.8199, allocations: 128.6 kB / 0.554 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005531/0.8204, allocations: 204.8 kB / 0.5542 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.8206, allocations: 69.66 kB / 0.5543 GB, free: 113.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001448/0.822, allocations: 1.049 MB / 0.5553 GB, free: 113.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.822, allocations: 0 / 0.5553 GB, free: 113.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003073/0.8251, allocations: 0.6943 MB / 0.556 GB, free: 113.1 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.01036/0.8355, allocations: 5.623 MB / 0.5615 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005468/0.8409, allocations: 3.238 MB / 0.5647 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.841, allocations: 3.844 kB / 0.5647 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003707/0.8447, allocations: 2.508 MB / 0.5671 GB, free: 106.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.8472, allocations: 391.5 kB / 0.5675 GB, free: 106.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03168/0.8789, allocations: 19.56 MB / 0.5866 GB, free: 88.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009277/0.8799, allocations: 1.565 MB / 0.5881 GB, free: 86.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001261/0.8811, allocations: 307.8 kB / 0.5884 GB, free: 86.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/0.8822, allocations: 0.9132 MB / 0.5893 GB, free: 85.37 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.8822, allocations: 0 / 0.5893 GB, free: 85.37 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.005, allocations: 58.94 MB / 0.6469 GB, free: 26.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.92/17.92, allocations: 3.984 kB / 0.6469 GB, free: 26.86 MB / 462.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.399510514980648] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.052227583975764 18.07072395 17.709196222 Calling exit ...