Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 121.5 kB / 19.17 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002075/0.002075, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 207.6 MB / 232.5 MB, free: 4.004 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 52.44 kB / 343 MB, free: 9.977 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09332/0.09498, allocations: 49.13 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01158/0.1066, allocations: 10.51 MB / 402.7 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1178, allocations: 6.333 MB / 409 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.1199, allocations: 47.69 kB / 409 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.1212, allocations: 495.9 kB / 409.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002744/0.124, allocations: 0.9232 MB / 410.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005639/0.1296, allocations: 2.515 MB / 413 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004542/0.1342, allocations: 3.477 MB / 416.4 MB, free: 308 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008855/0.1351, allocations: 0.5262 MB / 417 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00215/0.1372, allocations: 1.308 MB / 418.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.1394, allocations: 1.486 MB / 419.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005336/0.1399, allocations: 328 kB / 420.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.141, allocations: 0.5699 MB / 420.6 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006617/0.1416, allocations: 0.7399 MB / 421.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.1432, allocations: 1.4 MB / 422.8 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.1474, allocations: 3.938 MB / 426.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1474, allocations: 0 / 426.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1474, allocations: 0 / 426.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.905e-05/0.1475, allocations: 0 / 426.7 MB, free: 5.945 MB / 350.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.007466/0.155, allocations: 3.15 MB / 429.9 MB, free: 2.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.155, allocations: 8.031 kB / 429.9 MB, free: 2.723 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.503e-05/0.1551, allocations: 60.02 kB / 429.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003387/0.1554, allocations: 274.5 kB / 430.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005134/0.1559, allocations: 287.2 kB / 430.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.1581, allocations: 1.386 MB / 431.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.1583, allocations: 245.2 kB / 432.1 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005585/0.1589, allocations: 247.8 kB / 432.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/0.1627, allocations: 2.158 MB / 434.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.028e-05/0.1628, allocations: 7.875 kB / 434.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001841/0.163, allocations: 84 kB / 434.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.163, allocations: 52 kB / 434.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/0.167, allocations: 1.92 MB / 436.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.1796, allocations: 7.796 MB / 444.4 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/0.1832, allocations: 1.971 MB / 446.3 MB, free: 1.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003027/0.1862, allocations: 1.485 MB / 447.8 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/0.1864, allocations: 29.92 kB / 447.9 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/0.1864, allocations: 64.56 kB / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 3.967e-06/0.1864, allocations: 0 / 447.9 MB, free: 236 kB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05182/0.2383, allocations: 14.14 MB / 462 MB, free: 1.938 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002429/0.2385, allocations: 393.8 kB / 462.4 MB, free: 1.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1837/0.4222, allocations: 1.503 MB / 463.9 MB, free: 63.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005096/0.4227, allocations: 71.67 kB / 464 MB, free: 63.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/0.4234, allocations: 0.8342 MB / 464.8 MB, free: 63.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007676/0.4241, allocations: 0.8788 MB / 465.7 MB, free: 63.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000841/0.425, allocations: 411.4 kB / 466.1 MB, free: 63.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.418e-05/0.425, allocations: 309.9 kB / 466.4 MB, free: 63.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002356/0.4274, allocations: 0.9921 MB / 467.4 MB, free: 62.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002206/0.4296, allocations: 1.258 MB / 468.7 MB, free: 62.3 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.03092/0.4605, allocations: 9.423 MB / 478.1 MB, free: 59.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.4605, allocations: 0 / 478.1 MB, free: 59.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005255/0.4658, allocations: 2.937 MB / 481 MB, free: 58.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4658, allocations: 7.688 kB / 481 MB, free: 58.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.4658, allocations: 11.56 kB / 481.1 MB, free: 58.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008363/0.4667, allocations: 347.9 kB / 481.4 MB, free: 57.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/0.469, allocations: 0.548 MB / 481.9 MB, free: 57.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.4751, allocations: 10.96 MB / 492.9 MB, free: 47.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.4772, allocations: 129.9 kB / 493 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.4774, allocations: 85.02 kB / 493.1 MB, free: 47.57 MB / 382.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.0008345/0.4782, allocations: 461.6 kB / 493.6 MB, free: 47.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.4786, allocations: 220.5 kB / 493.8 MB, free: 47.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007078/0.4857, allocations: 3.432 MB / 497.2 MB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4857, allocations: 28 kB / 497.2 MB, free: 43.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.4857, allocations: 5.969 kB / 497.2 MB, free: 43.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.4857, allocations: 15.94 kB / 497.3 MB, free: 43.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.4964, allocations: 6.244 MB / 0.4917 GB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4964, allocations: 4 kB / 0.4917 GB, free: 37.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.4982, allocations: 430.8 kB / 0.4921 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004846/0.5031, allocations: 1.192 MB / 0.4933 GB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.5033, allocations: 69.28 kB / 0.4933 GB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/0.5193, allocations: 18.89 MB / 0.5118 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.5193, allocations: 4.031 kB / 0.5118 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009084/0.5284, allocations: 4.902 MB / 0.5166 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001032/0.5294, allocations: 0.5506 MB / 0.5171 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.5297, allocations: 59.98 kB / 0.5172 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.5314, allocations: 136 kB / 0.5173 GB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004554/0.5319, allocations: 193.8 kB / 0.5175 GB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.532, allocations: 75.97 kB / 0.5176 GB, free: 9.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.5331, allocations: 1.041 MB / 0.5186 GB, free: 8.562 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5331, allocations: 0 / 0.5186 GB, free: 8.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002467/0.5356, allocations: 0.7034 MB / 0.5193 GB, free: 7.875 MB / 382.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.009224/0.5448, allocations: 5.621 MB / 0.5248 GB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005318/0.5501, allocations: 3.24 MB / 0.5279 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/0.5501, allocations: 0 / 0.5279 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004016/0.5542, allocations: 2.512 MB / 0.5304 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.5563, allocations: 391.4 kB / 0.5307 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03395/0.5903, allocations: 19.51 MB / 0.5498 GB, free: 7.988 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001361/0.5916, allocations: 1.561 MB / 0.5513 GB, free: 6.391 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001219/0.5928, allocations: 295.8 kB / 0.5516 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/0.5942, allocations: 0.9171 MB / 0.5525 GB, free: 5.18 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5942, allocations: 4 kB / 0.5525 GB, free: 5.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1288/0.723, allocations: 58.53 MB / 0.6097 GB, free: 10.51 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/16.87, allocations: 11.47 kB / 0.6097 GB, free: 10.5 MB / 478.1 MB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_ThreePhaseTransformerWithRectifier.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.41535618400667] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 17.050069994991645 17.06448253 16.91390955 Calling exit ...