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.001594/0.001594, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001947/0.001947, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.499/1.499, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.001907/0.001907, allocations: 75.83 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1132, allocations: 53.32 MB / 426.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.2521/0.3653, allocations: 10.63 MB / 437.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0106/0.3759, allocations: 6.407 MB / 443.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002202/0.3781, allocations: 40.25 kB / 444 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3796, allocations: 492.2 kB / 444.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003107/0.3827, allocations: 0.9339 MB / 445.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00672/0.3894, allocations: 2.521 MB / 447.9 MB, free: 144 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006199/0.3956, allocations: 3.476 MB / 451.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.3969, allocations: 0.5283 MB / 451.9 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002898/0.3998, allocations: 1.284 MB / 453.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.4025, allocations: 1.487 MB / 454.7 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007179/0.4032, allocations: 328.2 kB / 455 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.4048, allocations: 0.5791 MB / 455.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008018/0.4056, allocations: 0.7409 MB / 456.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.4074, allocations: 1.405 MB / 457.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005361/0.4128, allocations: 3.953 MB / 461.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4128, allocations: 0 / 461.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4128, allocations: 0 / 461.7 MB, free: 8.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001096/0.4129, allocations: 0 / 461.7 MB, free: 8.348 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.008248/0.4211, allocations: 3.168 MB / 464.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.4212, allocations: 8.812 kB / 464.9 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003537/0.4215, allocations: 277.1 kB / 465.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008256/0.4224, allocations: 324.2 kB / 465.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.425, allocations: 1.403 MB / 466.9 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.4252, allocations: 241.2 kB / 467.1 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005459/0.4257, allocations: 243.6 kB / 467.3 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/0.4297, allocations: 2.159 MB / 469.5 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-05/0.4297, allocations: 5.344 kB / 469.5 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.4299, allocations: 83.22 kB / 469.6 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.055e-05/0.43, allocations: 52.12 kB / 469.6 MB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004076/0.434, allocations: 1.92 MB / 471.5 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01394/0.448, allocations: 7.799 MB / 479.3 MB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.4517, allocations: 1.969 MB / 481.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.4547, allocations: 1.485 MB / 482.8 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.4548, allocations: 33.92 kB / 482.8 MB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.478e-05/0.4549, allocations: 60.56 kB / 482.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.507e-06/0.4549, allocations: 0 / 482.9 MB, free: 8.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05318/0.508, allocations: 14.14 MB / 497 MB, free: 10.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002352/0.5083, allocations: 393.8 kB / 497.4 MB, free: 9.809 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/0.5111, allocations: 1.522 MB / 498.9 MB, free: 8.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004762/0.5116, allocations: 69.7 kB / 499 MB, free: 8.203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007728/0.5123, allocations: 0.8487 MB / 499.8 MB, free: 7.344 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009304/0.5133, allocations: 0.8714 MB / 0.489 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007333/0.514, allocations: 416.6 kB / 0.4894 GB, free: 6.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5141, allocations: 301.1 kB / 0.4897 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.5163, allocations: 0.9924 MB / 0.4906 GB, free: 4.758 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002418/0.5187, allocations: 1.256 MB / 0.4919 GB, free: 3.434 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.03375/0.5525, allocations: 9.437 MB / 0.5011 GB, free: 9.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5525, allocations: 0 / 0.5011 GB, free: 9.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006247/0.5587, allocations: 2.937 MB / 0.5039 GB, free: 6.875 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.5588, allocations: 7.938 kB / 0.504 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/0.5588, allocations: 12 kB / 0.504 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009821/0.5598, allocations: 353 kB / 0.5043 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002638/0.5624, allocations: 0.5461 MB / 0.5048 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.5736, allocations: 10.94 MB / 0.5155 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.5763, allocations: 127.9 kB / 0.5156 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/0.5766, allocations: 83.95 kB / 0.5157 GB, free: 9.961 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.001315/0.5779, allocations: 466 kB / 0.5162 GB, free: 9.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006017/0.5785, allocations: 222.6 kB / 0.5164 GB, free: 9.277 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009147/0.5876, allocations: 3.446 MB / 0.5197 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/0.5877, allocations: 28 kB / 0.5198 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.558e-05/0.5877, allocations: 4 kB / 0.5198 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-05/0.5877, allocations: 11.95 kB / 0.5198 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/0.6037, allocations: 6.243 MB / 0.5259 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.6037, allocations: 0 / 0.5259 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002256/0.606, allocations: 427.4 kB / 0.5263 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005909/0.6119, allocations: 1.194 MB / 0.5275 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00043/0.6123, allocations: 63.97 kB / 0.5275 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02668/0.639, allocations: 18.89 MB / 0.546 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.639, allocations: 0 / 0.546 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.6517, allocations: 4.922 MB / 0.5508 GB, free: 4.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001694/0.6534, allocations: 0.5423 MB / 0.5513 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004274/0.6539, allocations: 52 kB / 0.5514 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.6558, allocations: 131.9 kB / 0.5515 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006131/0.6564, allocations: 205.7 kB / 0.5517 GB, free: 3.484 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.6565, allocations: 67.98 kB / 0.5517 GB, free: 3.418 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001675/0.6582, allocations: 1.049 MB / 0.5528 GB, free: 2.371 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6582, allocations: 3.938 kB / 0.5528 GB, free: 2.367 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00316/0.6614, allocations: 0.7029 MB / 0.5535 GB, free: 1.664 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.01206/0.6734, allocations: 5.617 MB / 0.5589 GB, free: 11.92 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006566/0.68, allocations: 3.231 MB / 0.5621 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.68, allocations: 0 / 0.5621 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004274/0.6843, allocations: 2.515 MB / 0.5646 GB, free: 5.926 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.6867, allocations: 378.3 kB / 0.5649 GB, free: 5.559 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/0.7246, allocations: 19.58 MB / 0.584 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.7261, allocations: 1.565 MB / 0.5856 GB, free: 24 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001497/0.7276, allocations: 295.9 kB / 0.5858 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/0.729, allocations: 0.9093 MB / 0.5867 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of SimCode: time 8.62e-07/0.729, allocations: 4 kB / 0.5867 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4/1.129, allocations: 58.62 MB / 0.644 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/18.27, allocations: 7.5 kB / 0.644 GB, free: 165.6 MB / 0.5137 GB " [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 --stepSize=0.0001 --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.783052080776542] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.3983234167099 18.41338361 17.997181525 Calling exit ...