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.01065/0.01065, allocations: 101.4 kB / 21.96 MB, free: 5.207 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.001822/0.001822, allocations: 213.5 kB / 25.25 MB, free: 3.145 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.354/1.354, allocations: 207.7 MB / 236.1 MB, free: 9.805 MB / 190.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.001634/0.001634, allocations: 55.92 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.261, allocations: 49.15 MB / 397.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008875/0.2699, allocations: 9.045 MB / 406.2 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.2826, allocations: 6.006 MB / 412.2 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.2856, allocations: 48.56 kB / 412.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.2872, allocations: 496.6 kB / 412.7 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.2909, allocations: 0.926 MB / 413.7 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006347/0.2973, allocations: 2.507 MB / 416.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005159/0.3024, allocations: 3.476 MB / 419.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000944/0.3034, allocations: 0.5176 MB / 420.2 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.3056, allocations: 1.323 MB / 421.5 MB, free: 8.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.3081, allocations: 1.474 MB / 423 MB, free: 7.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005491/0.3086, allocations: 331.2 kB / 423.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.3101, allocations: 0.6026 MB / 423.9 MB, free: 7.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007132/0.3108, allocations: 0.7417 MB / 424.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.3123, allocations: 1.162 MB / 425.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004923/0.3172, allocations: 3.973 MB / 429.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3172, allocations: 0 / 429.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3172, allocations: 0 / 429.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.061e-05/0.3173, allocations: 4 kB / 429.8 MB, free: 2.426 MB / 334.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.007969/0.3252, allocations: 3.083 MB / 432.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.3253, allocations: 15.98 kB / 432.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.332e-05/0.3254, allocations: 48.02 kB / 432.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000356/0.3257, allocations: 274.6 kB / 433.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005623/0.3263, allocations: 287.2 kB / 433.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002339/0.3286, allocations: 1.322 MB / 434.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000341/0.329, allocations: 403.4 kB / 435.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005651/0.3295, allocations: 239.8 kB / 435.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004277/0.3338, allocations: 2.642 MB / 438 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/0.3339, allocations: 7.984 kB / 438.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001928/0.334, allocations: 84 kB / 438.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-05/0.3341, allocations: 44 kB / 438.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.338, allocations: 1.92 MB / 440.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.3502, allocations: 7.035 MB / 447.1 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.3537, allocations: 1.981 MB / 449.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/0.3567, allocations: 1.484 MB / 450.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.51e-05/0.3568, allocations: 22 kB / 450.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.73e-05/0.3568, allocations: 64.5 kB / 450.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.418e-06/0.3568, allocations: 0 / 450.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05288/0.4097, allocations: 13.68 MB / 464.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002445/0.4099, allocations: 393.8 kB / 464.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002383/0.4123, allocations: 1.522 MB / 466.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003575/0.4127, allocations: 73.61 kB / 466.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.4134, allocations: 0.8252 MB / 467.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009681/0.4143, allocations: 0.883 MB / 468.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007283/0.4151, allocations: 408.6 kB / 468.5 MB, free: 10.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4152, allocations: 305.1 kB / 468.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.4174, allocations: 1 MB / 469.7 MB, free: 9.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002509/0.4199, allocations: 1.486 MB / 471.2 MB, free: 8.008 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.0357/0.4556, allocations: 9.271 MB / 480.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4556, allocations: 4 kB / 480.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006249/0.4618, allocations: 2.933 MB / 483.4 MB, free: 11.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.4619, allocations: 8 kB / 483.5 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/0.4619, allocations: 4 kB / 483.5 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.4629, allocations: 356.8 kB / 483.8 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/0.4656, allocations: 0.5461 MB / 484.3 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009892/0.4755, allocations: 10.26 MB / 494.6 MB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/0.4782, allocations: 124 kB / 494.7 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/0.4786, allocations: 88.03 kB / 494.8 MB, free: 15.57 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.001576/0.4802, allocations: 473.3 kB / 495.3 MB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007828/0.4809, allocations: 222.6 kB / 495.5 MB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0138/0.4948, allocations: 3.434 MB / 498.9 MB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/0.4948, allocations: 24 kB / 499 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.4948, allocations: 4 kB / 499 MB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/0.4949, allocations: 15.95 kB / 499 MB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/0.5147, allocations: 5.723 MB / 0.4929 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.5148, allocations: 0 / 0.4929 GB, free: 5.457 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/0.5169, allocations: 431.4 kB / 0.4933 GB, free: 5.035 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005781/0.5227, allocations: 1.194 MB / 0.4944 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003984/0.5231, allocations: 63.97 kB / 0.4945 GB, free: 3.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02326/0.5463, allocations: 17.76 MB / 0.5119 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.5463, allocations: 480 / 0.5119 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.5582, allocations: 4.914 MB / 0.5167 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/0.5596, allocations: 470.2 kB / 0.5171 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.5599, allocations: 59.98 kB / 0.5172 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/0.5618, allocations: 127.9 kB / 0.5173 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005454/0.5623, allocations: 217.6 kB / 0.5175 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/0.5625, allocations: 75.97 kB / 0.5176 GB, free: 11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.5639, allocations: 1.041 MB / 0.5186 GB, free: 9.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5639, allocations: 0 / 0.5186 GB, free: 9.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002673/0.5666, allocations: 0.699 MB / 0.5193 GB, free: 9.262 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.01142/0.578, allocations: 5.61 MB / 0.5247 GB, free: 3.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006241/0.5842, allocations: 3.243 MB / 0.5279 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5843, allocations: 0 / 0.5279 GB, free: 152 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004164/0.5884, allocations: 2.515 MB / 0.5304 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/0.5907, allocations: 385.5 kB / 0.5307 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03743/0.6281, allocations: 19.52 MB / 0.5498 GB, free: 9.242 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/0.6293, allocations: 0.9877 MB / 0.5508 GB, free: 8.211 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001371/0.6306, allocations: 295.8 kB / 0.551 GB, free: 7.918 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/0.632, allocations: 0.9132 MB / 0.5519 GB, free: 7.004 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.632, allocations: 0 / 0.5519 GB, free: 7.004 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2842/0.9163, allocations: 59.72 MB / 0.6103 GB, free: 115.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.94/17.85, allocations: 0 / 0.6103 GB, free: 115.9 MB / 478.1 MB " [Timeout remaining time 642] (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: 20.61408427893184] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor1.v', 'capacitor2.v'] 18.055059649050236 18.063797363 17.744333756 Calling exit ...