Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001074/0.001074, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001279/0.001279, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB 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: 205.4 MB / 222.1 MB, free: 5.367 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.0004844/0.0004846, allocations: 12 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2126, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01054/0.2232, allocations: 9.183 MB / 335.7 MB, free: 10.19 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.011/0.2343, allocations: 6.102 MB / 341.8 MB, free: 4.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001907/0.2362, allocations: 35.81 kB / 341.8 MB, free: 4.125 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.2377, allocations: 365.5 kB / 342.2 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002728/0.2404, allocations: 0.7488 MB / 342.9 MB, free: 3.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004966/0.2454, allocations: 1.809 MB / 344.7 MB, free: 1.199 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004384/0.2498, allocations: 3.139 MB / 347.9 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.2512, allocations: 0.5925 MB / 348.5 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001892/0.2531, allocations: 1.039 MB / 349.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002142/0.2552, allocations: 1.26 MB / 350.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000707/0.2559, allocations: 148 kB / 350.9 MB, free: 10.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.2572, allocations: 379.6 kB / 351.3 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008183/0.2581, allocations: 0.5368 MB / 351.8 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008689/0.2589, allocations: 476.5 kB / 352.3 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.2623, allocations: 2.984 MB / 355.3 MB, free: 6.605 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2623, allocations: 8 kB / 355.3 MB, free: 6.598 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2623, allocations: 0 / 355.3 MB, free: 6.598 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001282/0.2624, allocations: 0 / 355.3 MB, free: 6.598 MB / 286.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.007278/0.2697, allocations: 2.67 MB / 357.9 MB, free: 3.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2698, allocations: 16.02 kB / 358 MB, free: 3.852 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.271, allocations: 276.8 kB / 358.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.2741, allocations: 1.299 MB / 359.5 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.2743, allocations: 237 kB / 359.8 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/0.2748, allocations: 235.9 kB / 360 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/0.2793, allocations: 2.173 MB / 362.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.081e-05/0.2794, allocations: 4 kB / 362.2 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.2796, allocations: 80 kB / 362.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.2796, allocations: 44 kB / 362.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004042/0.2837, allocations: 1.943 MB / 364.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.2964, allocations: 7.884 MB / 372.1 MB, free: 5.297 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003636/0.3001, allocations: 2.107 MB / 374.2 MB, free: 3.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002231/0.3024, allocations: 1.247 MB / 375.5 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3025, allocations: 25.98 kB / 375.5 MB, free: 1.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.3026, allocations: 64.52 kB / 375.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of pre-optimization done (n=208): time 4.038e-06/0.3026, allocations: 0 / 375.6 MB, free: 1.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=250): time 0.05156/0.3541, allocations: 14.77 MB / 390.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.3544, allocations: 393.7 kB / 390.7 MB, free: 2.387 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.3567, allocations: 1.502 MB / 392.2 MB, free: 0.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00035/0.3571, allocations: 73.64 kB / 392.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/0.3578, allocations: 0.8237 MB / 393.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008421/0.3586, allocations: 0.8315 MB / 393.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3588, allocations: 51.94 kB / 394 MB, free: 15.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.359, allocations: 398.7 kB / 394.4 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.3612, allocations: 1.008 MB / 395.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002312/0.3635, allocations: 1.272 MB / 396.7 MB, free: 12.32 MB / 334.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.02863/0.3921, allocations: 7.472 MB / 404.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.3922, allocations: 0 / 404.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006114/0.3983, allocations: 2.971 MB / 407.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3983, allocations: 8.094 kB / 407.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-05/0.3984, allocations: 4 kB / 407.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009583/0.3993, allocations: 356.8 kB / 407.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002599/0.402, allocations: 0.5462 MB / 408 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008682/0.4106, allocations: 10.02 MB / 418 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002332/0.413, allocations: 143.9 kB / 418.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000453/0.4135, allocations: 84.03 kB / 418.3 MB, free: 5.777 MB / 350.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001428/0.4149, allocations: 465.4 kB / 418.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006767/0.4156, allocations: 209.5 kB / 418.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009229/0.4249, allocations: 3.535 MB / 422.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/0.4249, allocations: 28 kB / 422.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.747e-05/0.4249, allocations: 4 kB / 422.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.23e-05/0.425, allocations: 15.91 kB / 422.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/0.4398, allocations: 6.274 MB / 428.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.4399, allocations: 7.938 kB / 428.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/0.442, allocations: 427.5 kB / 429.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005976/0.448, allocations: 1.256 MB / 430.4 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003915/0.4484, allocations: 67.97 kB / 430.5 MB, free: 9.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02111/0.4695, allocations: 17.4 MB / 447.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4695, allocations: 4.031 kB / 447.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01119/0.4807, allocations: 5.007 MB / 452.9 MB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001104/0.4819, allocations: 0.5295 MB / 453.5 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004925/0.4824, allocations: 55.95 kB / 453.5 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.4843, allocations: 155.9 kB / 453.7 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004977/0.4848, allocations: 201.7 kB / 453.9 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000179/0.485, allocations: 71.97 kB / 453.9 MB, free: 464 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1688/0.6538, allocations: 1.026 MB / 455 MB, free: 110.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.12e-07/0.6538, allocations: 0.5625 kB / 455 MB, free: 110.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004629/0.6584, allocations: 0.6958 MB / 455.7 MB, free: 110.4 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 (202): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008265/0.6593, allocations: 258.2 kB / 455.9 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006586/0.6659, allocations: 3.408 MB / 459.3 MB, free: 109.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.6659, allocations: 2 kB / 459.3 MB, free: 109.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004204/0.6701, allocations: 2.633 MB / 462 MB, free: 108.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004034/0.6742, allocations: 369.2 kB / 462.3 MB, free: 108.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009996/0.6842, allocations: 6.366 MB / 468.7 MB, free: 104.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.6854, allocations: 1.566 MB / 470.2 MB, free: 104 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001586/0.687, allocations: 291.1 kB / 470.5 MB, free: 103.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007567/0.6878, allocations: 159.2 kB / 470.7 MB, free: 103.9 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6878, allocations: 4 kB / 470.7 MB, free: 103.9 MB / 382.1 MB Notification: Performance of Templates: time 0.0478/0.7356, allocations: 35.31 MB / 0.4941 GB, free: 69.79 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)