Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006282/0.006282, allocations: 100.5 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 189 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.582 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 49.75 kB / 326.6 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09308, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01146/0.1046, allocations: 10.46 MB / 383.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01287/0.1175, allocations: 6.321 MB / 390 MB, free: 484 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002681/0.1202, allocations: 39.81 kB / 390 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.1219, allocations: 484 kB / 390.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003519/0.1254, allocations: 0.9232 MB / 391.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006238/0.1317, allocations: 2.514 MB / 393.9 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005065/0.1368, allocations: 3.473 MB / 397.4 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.1379, allocations: 0.7488 MB / 398.1 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.1399, allocations: 1.289 MB / 399.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.142, allocations: 1.467 MB / 400.9 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005258/0.1426, allocations: 328 kB / 401.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.1438, allocations: 0.5699 MB / 401.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006995/0.1445, allocations: 0.736 MB / 402.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.1461, allocations: 1.404 MB / 403.9 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.1501, allocations: 3.925 MB / 407.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.1501, allocations: 0 / 407.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1502, allocations: 3.938 kB / 407.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.107e-05/0.1502, allocations: 0 / 407.8 MB, free: 14.5 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.007487/0.1577, allocations: 3.079 MB / 410.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.1578, allocations: 8.031 kB / 410.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005278/0.1583, allocations: 277.8 kB / 411.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/0.1606, allocations: 1.377 MB / 412.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002187/0.1608, allocations: 241.5 kB / 412.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006061/0.1615, allocations: 232 kB / 413 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003759/0.1652, allocations: 2.177 MB / 415.2 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/0.1653, allocations: 3.906 kB / 415.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.1655, allocations: 80 kB / 415.3 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/0.1655, allocations: 48 kB / 415.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003865/0.1694, allocations: 1.916 MB / 417.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.1816, allocations: 7.79 MB / 425.1 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003449/0.185, allocations: 2.068 MB / 427.1 MB, free: 10.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00289/0.188, allocations: 1.586 MB / 428.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.1881, allocations: 33.92 kB / 428.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.669e-05/0.1882, allocations: 60.56 kB / 428.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 3.887e-06/0.1882, allocations: 0 / 428.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05115/0.2394, allocations: 14.07 MB / 442.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/0.2396, allocations: 389.8 kB / 443.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.242, allocations: 1.514 MB / 444.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003704/0.2424, allocations: 73.7 kB / 444.8 MB, free: 8.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006112/0.243, allocations: 0.8197 MB / 445.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008859/0.2439, allocations: 0.8393 MB / 446.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000749/0.2446, allocations: 408.5 kB / 446.9 MB, free: 6.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2448, allocations: 305.1 kB / 447.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.2469, allocations: 0.9924 MB / 448.2 MB, free: 5.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.2493, allocations: 1.264 MB / 449.5 MB, free: 4.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.245/0.4944, allocations: 9.412 MB / 458.9 MB, free: 68.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4944, allocations: 5.125 kB / 458.9 MB, free: 68.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006119/0.5005, allocations: 2.945 MB / 461.8 MB, free: 67.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5006, allocations: 8.109 kB / 461.8 MB, free: 67.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.161e-05/0.5006, allocations: 7.281 kB / 461.8 MB, free: 67.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.5016, allocations: 352.6 kB / 462.2 MB, free: 67.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.5043, allocations: 0.5463 MB / 462.7 MB, free: 67.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007151/0.5115, allocations: 10.94 MB / 473.7 MB, free: 57.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/0.5138, allocations: 124.6 kB / 473.8 MB, free: 57.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.5141, allocations: 84.33 kB / 473.9 MB, free: 57.34 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.0009916/0.5151, allocations: 470.8 kB / 474.3 MB, free: 57.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/0.5156, allocations: 212.3 kB / 474.5 MB, free: 57.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007409/0.523, allocations: 3.46 MB / 478 MB, free: 55.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.523, allocations: 23.72 kB / 478 MB, free: 55.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.5231, allocations: 3.938 kB / 478 MB, free: 55.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.5231, allocations: 18.55 kB / 478 MB, free: 55.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/0.5351, allocations: 6.266 MB / 484.3 MB, free: 52.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.5352, allocations: 0.875 kB / 484.3 MB, free: 52.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/0.5371, allocations: 430.6 kB / 484.7 MB, free: 52.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004989/0.5421, allocations: 1.203 MB / 485.9 MB, free: 51.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004037/0.5425, allocations: 61.22 kB / 486 MB, free: 51.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01824/0.5608, allocations: 18.88 MB / 0.493 GB, free: 31.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5608, allocations: 8.094 kB / 0.493 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009203/0.57, allocations: 4.92 MB / 0.4978 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.5711, allocations: 0.5303 MB / 0.4984 GB, free: 26.33 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.5714, allocations: 56 kB / 0.4984 GB, free: 26.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.5731, allocations: 135.9 kB / 0.4986 GB, free: 26.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004905/0.5736, allocations: 201.7 kB / 0.4987 GB, free: 25.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.5738, allocations: 75.97 kB / 0.4988 GB, free: 25.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.575, allocations: 1.041 MB / 0.4998 GB, free: 24.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.575, allocations: 0 / 0.4998 GB, free: 24.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002475/0.5775, allocations: 0.6949 MB / 0.5005 GB, free: 24.14 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.0005005/0.578, allocations: 263.8 kB / 0.5008 GB, free: 23.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005324/0.5833, allocations: 3.357 MB / 0.504 GB, free: 20.42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.5833, allocations: 3.953 kB / 0.504 GB, free: 20.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003451/0.5868, allocations: 2.603 MB / 0.5066 GB, free: 17.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.5889, allocations: 386.7 kB / 0.507 GB, free: 17.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007338/0.5962, allocations: 5.264 MB / 0.5121 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008408/0.5971, allocations: 1.565 MB / 0.5136 GB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001249/0.5984, allocations: 291.8 kB / 0.5139 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.5989, allocations: 167.3 kB / 0.5141 GB, free: 10.02 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5989, allocations: 4 kB / 0.5141 GB, free: 10.02 MB / 382.1 MB Notification: Performance of Templates: time 0.06563/0.6646, allocations: 39.7 MB / 0.5528 GB, free: 2.273 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)