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.00827/0.00827, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001929/0.001929, allocations: 188.1 kB / 16.67 MB, free: 5.973 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.417/1.417, allocations: 205.1 MB / 222.6 MB, free: 4.52 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.001751/0.001751, allocations: 41.44 kB / 326.6 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1086, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01105/0.1197, allocations: 10.47 MB / 383.7 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.1313, allocations: 6.31 MB / 390 MB, free: 460 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.1338, allocations: 39.81 kB / 390 MB, free: 420 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.1354, allocations: 484 kB / 390.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.1386, allocations: 0.9036 MB / 391.4 MB, free: 15.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006483/0.1451, allocations: 2.503 MB / 393.9 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006225/0.1513, allocations: 3.473 MB / 397.4 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.1527, allocations: 0.7487 MB / 398.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002395/0.1551, allocations: 1.277 MB / 399.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.1572, allocations: 1.471 MB / 400.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004923/0.1577, allocations: 328 kB / 401.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.1591, allocations: 0.566 MB / 401.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007175/0.1598, allocations: 0.7282 MB / 402.5 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001388/0.1612, allocations: 1.404 MB / 403.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.1653, allocations: 3.942 MB / 407.8 MB, free: 14.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1653, allocations: 3.938 kB / 407.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1653, allocations: 0 / 407.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.653e-05/0.1654, 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.007305/0.1727, allocations: 3.147 MB / 411 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1728, allocations: 8.031 kB / 411 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.1732, allocations: 287.2 kB / 411.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.1753, allocations: 1.39 MB / 412.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.1755, allocations: 245.5 kB / 412.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005385/0.176, allocations: 240 kB / 413.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/0.1799, allocations: 2.158 MB / 415.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/0.1799, allocations: 11.94 kB / 415.3 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.1801, allocations: 80 kB / 415.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.1802, allocations: 44 kB / 415.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003966/0.1842, allocations: 1.92 MB / 417.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.1961, allocations: 7.8 MB / 425.1 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.1997, allocations: 2.072 MB / 427.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003407/0.2031, allocations: 1.594 MB / 428.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.2033, allocations: 33.92 kB / 428.8 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.26e-05/0.2034, allocations: 60.56 kB / 428.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 6.232e-06/0.2034, allocations: 0 / 428.9 MB, free: 8.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05574/0.2592, allocations: 14.17 MB / 443.1 MB, free: 10.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003285/0.2595, allocations: 393.8 kB / 443.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002614/0.2622, allocations: 1.506 MB / 444.9 MB, free: 8.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002751/0.2625, allocations: 73.7 kB / 445 MB, free: 8.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008156/0.2633, allocations: 0.8368 MB / 445.9 MB, free: 7.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001113/0.2644, allocations: 0.8791 MB / 446.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007673/0.2652, allocations: 408.7 kB / 447.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.2654, allocations: 305.1 kB / 447.4 MB, free: 6.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.2677, allocations: 0.9924 MB / 448.4 MB, free: 5.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.2701, allocations: 1.268 MB / 449.7 MB, free: 3.758 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.243/0.5132, allocations: 9.411 MB / 459.1 MB, free: 68.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.5132, allocations: 3.75 kB / 459.1 MB, free: 68.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006021/0.5192, allocations: 2.957 MB / 462.1 MB, free: 67.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5193, allocations: 6.594 kB / 462.1 MB, free: 67.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.5193, allocations: 8.312 kB / 462.1 MB, free: 67.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.5203, allocations: 349.5 kB / 462.4 MB, free: 66.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.523, allocations: 0.5494 MB / 463 MB, free: 66.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.5307, allocations: 10.95 MB / 473.9 MB, free: 56.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/0.5334, allocations: 127 kB / 474 MB, free: 56.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001917/0.5336, allocations: 86.27 kB / 474.1 MB, free: 56.73 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.001144/0.5347, allocations: 464.4 kB / 474.6 MB, free: 56.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004208/0.5352, allocations: 215.2 kB / 474.8 MB, free: 56.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007593/0.5428, allocations: 3.462 MB / 478.3 MB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.5428, allocations: 27.44 kB / 478.3 MB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.5428, allocations: 5.688 kB / 478.3 MB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.5428, allocations: 15.77 kB / 478.3 MB, free: 54.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.5544, allocations: 6.276 MB / 484.6 MB, free: 51.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.5544, allocations: 3.938 kB / 484.6 MB, free: 51.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/0.5563, allocations: 425.1 kB / 485 MB, free: 51.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004968/0.5613, allocations: 1.196 MB / 486.2 MB, free: 50.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.5615, allocations: 59.59 kB / 486.3 MB, free: 50.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/0.578, allocations: 18.9 MB / 0.4933 GB, free: 31.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.578, allocations: 8.094 kB / 0.4933 GB, free: 31.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009233/0.5872, allocations: 4.938 MB / 0.4981 GB, free: 26.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008338/0.5881, allocations: 0.5421 MB / 0.4987 GB, free: 25.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.5884, allocations: 55.98 kB / 0.4987 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/0.5901, allocations: 131.9 kB / 0.4988 GB, free: 25.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005307/0.5906, allocations: 205.7 kB / 0.499 GB, free: 25.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.5908, allocations: 79.95 kB / 0.4991 GB, free: 25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001175/0.592, allocations: 1.041 MB / 0.5001 GB, free: 23.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.592, allocations: 3.719 kB / 0.5001 GB, free: 23.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00235/0.5943, allocations: 0.6935 MB / 0.5008 GB, free: 23.28 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.0005014/0.5948, allocations: 256.2 kB / 0.5011 GB, free: 23.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004936/0.5998, allocations: 3.375 MB / 0.5044 GB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.5998, allocations: 0 / 0.5044 GB, free: 19.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.6029, allocations: 2.609 MB / 0.5069 GB, free: 16.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.6048, allocations: 376.7 kB / 0.5073 GB, free: 16.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00775/0.6126, allocations: 5.344 MB / 0.5125 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/0.6135, allocations: 1.565 MB / 0.514 GB, free: 9.512 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001497/0.615, allocations: 295.8 kB / 0.5143 GB, free: 9.219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.6156, allocations: 171.3 kB / 0.5145 GB, free: 9.051 MB / 382.1 MB Notification: Performance of SimCode: time 1.502e-06/0.6156, allocations: 0 / 0.5145 GB, free: 9.051 MB / 382.1 MB Notification: Performance of Templates: time 0.06222/0.6779, allocations: 39.7 MB / 0.5532 GB, free: 1.297 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)