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.001395/0.001395, allocations: 116.6 kB / 18.49 MB, free: 4.566 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.001406/0.001406, allocations: 189 kB / 21.43 MB, free: 1.641 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.408/1.408, allocations: 225.6 MB / 249.8 MB, free: 3.641 MB / 190.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.001445/0.001445, allocations: 55.91 kB / 366.4 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 52.14 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01336/0.1159, allocations: 10.61 MB / 429.1 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.128, allocations: 6.297 MB / 435.4 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.1301, allocations: 47.69 kB / 435.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.1316, allocations: 491.8 kB / 435.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002848/0.1344, allocations: 0.931 MB / 436.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005656/0.1401, allocations: 2.508 MB / 439.4 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004874/0.1449, allocations: 3.473 MB / 442.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009193/0.1459, allocations: 0.5224 MB / 443.4 MB, free: 3.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001908/0.1478, allocations: 1.304 MB / 444.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.1498, allocations: 1.479 MB / 446.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004661/0.1503, allocations: 328 kB / 446.5 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1977/0.3479, allocations: 0.5753 MB / 447 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.3491, allocations: 0.738 MB / 447.8 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.3505, allocations: 1.402 MB / 449.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004214/0.3547, allocations: 3.942 MB / 453.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3547, allocations: 3.281 kB / 453.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3547, allocations: 0 / 453.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001046/0.3548, allocations: 0 / 453.1 MB, free: 11.64 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.008053/0.3629, allocations: 3.153 MB / 456.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.3629, allocations: 9.406 kB / 456.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.92e-05/0.363, allocations: 50.73 kB / 456.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003462/0.3634, allocations: 276.7 kB / 456.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006551/0.364, allocations: 291.2 kB / 456.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.3666, allocations: 1.391 MB / 458.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.3668, allocations: 238.2 kB / 458.5 MB, free: 9.555 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006164/0.3674, allocations: 240.2 kB / 458.8 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004166/0.3716, allocations: 2.167 MB / 460.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.774e-05/0.3716, allocations: 2.219 kB / 460.9 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.3718, allocations: 81.62 kB / 461 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.647e-05/0.3719, allocations: 46.91 kB / 461 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004148/0.376, allocations: 1.92 MB / 463 MB, free: 9.242 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01202/0.3881, allocations: 7.794 MB / 470.8 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/0.3915, allocations: 1.973 MB / 472.7 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/0.3943, allocations: 1.485 MB / 474.2 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3944, allocations: 33.91 kB / 474.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.3945, allocations: 60.06 kB / 474.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.137e-06/0.3945, allocations: 0 / 474.3 MB, free: 3.461 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.04927/0.4438, allocations: 14.14 MB / 488.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002323/0.444, allocations: 389.6 kB / 488.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002341/0.4463, allocations: 1.516 MB / 490.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003298/0.4467, allocations: 69.7 kB / 490.4 MB, free: 10.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006702/0.4473, allocations: 0.8367 MB / 491.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008604/0.4482, allocations: 0.8763 MB / 492.1 MB, free: 8.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007466/0.4489, allocations: 411.5 kB / 492.5 MB, free: 8.531 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4491, allocations: 305.1 kB / 492.8 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.4513, allocations: 0.9924 MB / 493.8 MB, free: 7.234 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/0.4536, allocations: 1.265 MB / 495.1 MB, free: 5.902 MB / 382.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.03398/0.4876, allocations: 9.419 MB / 0.4927 GB, free: 12.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4876, allocations: 3.938 kB / 0.4927 GB, free: 12.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006485/0.4941, allocations: 2.938 MB / 0.4956 GB, free: 9.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.4941, allocations: 11.94 kB / 0.4956 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.354e-05/0.4942, allocations: 9.016 kB / 0.4956 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/0.4952, allocations: 347.6 kB / 0.4959 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002788/0.498, allocations: 0.5504 MB / 0.4964 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/0.5089, allocations: 10.95 MB / 0.5071 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.5116, allocations: 132 kB / 0.5073 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.5119, allocations: 78.5 kB / 0.5073 GB, free: 12.63 MB / 414.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.001219/0.5131, allocations: 461.5 kB / 0.5078 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/0.5137, allocations: 226.6 kB / 0.508 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/0.5225, allocations: 3.437 MB / 0.5114 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-05/0.5225, allocations: 28 kB / 0.5114 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.5225, allocations: 8 kB / 0.5114 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.618e-05/0.5226, allocations: 11.95 kB / 0.5114 GB, free: 8.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.537, allocations: 6.241 MB / 0.5175 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.537, allocations: 4 kB / 0.5175 GB, free: 2.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/0.5392, allocations: 424 kB / 0.5179 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005698/0.5449, allocations: 1.192 MB / 0.5191 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/0.5452, allocations: 64.3 kB / 0.5191 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/0.5692, allocations: 18.9 MB / 0.5376 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5692, allocations: 0 / 0.5376 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.5811, allocations: 4.913 MB / 0.5424 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.5825, allocations: 0.5462 MB / 0.5429 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/0.5829, allocations: 56.06 kB / 0.543 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/0.5848, allocations: 135.9 kB / 0.5431 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005967/0.5854, allocations: 201 kB / 0.5433 GB, free: 6.516 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/0.5855, allocations: 75.91 kB / 0.5434 GB, free: 6.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.5872, allocations: 1.041 MB / 0.5444 GB, free: 5.402 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5872, allocations: 0 / 0.5444 GB, free: 5.402 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002997/0.5902, allocations: 0.6951 MB / 0.5451 GB, free: 4.707 MB / 446.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.01213/0.6023, allocations: 5.617 MB / 0.5505 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006656/0.609, allocations: 3.241 MB / 0.5537 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.609, allocations: 0 / 0.5537 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004332/0.6133, allocations: 2.518 MB / 0.5562 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.6159, allocations: 387.5 kB / 0.5565 GB, free: 8.711 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03845/0.6544, allocations: 19.52 MB / 0.5756 GB, free: 4.965 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.6558, allocations: 1.565 MB / 0.5771 GB, free: 3.363 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.6571, allocations: 291.8 kB / 0.5774 GB, free: 3.074 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/0.6586, allocations: 0.9132 MB / 0.5783 GB, free: 2.16 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/0.6586, allocations: 0 / 0.5783 GB, free: 2.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.32/0.9786, allocations: 58.53 MB / 0.6355 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.12/17.1, allocations: 3.406 kB / 0.6355 GB, free: 177.2 MB / 0.5137 GB " [Timeout remaining time 643] (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: 19.61788976797834] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 17.28583487297874 17.297526476 16.940200988 Calling exit ...