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.001682/0.001683, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001851/0.001851, allocations: 177.3 kB / 15.95 MB, free: 216 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.56/1.56, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0007463/0.0007463, allocations: 14.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2689, allocations: 47.58 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009316/0.2783, allocations: 8.406 MB / 334.9 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.2897, allocations: 6.184 MB / 341 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.292, allocations: 35.81 kB / 341.1 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.2934, allocations: 393.6 kB / 341.5 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003208/0.2966, allocations: 0.8841 MB / 342.3 MB, free: 3.59 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005112/0.3018, allocations: 1.754 MB / 344.1 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004721/0.3065, allocations: 2.111 MB / 346.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.3077, allocations: 0.5925 MB / 346.8 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.3096, allocations: 1.028 MB / 347.8 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.3118, allocations: 1.222 MB / 349.1 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006859/0.3125, allocations: 148 kB / 349.2 MB, free: 12.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.3139, allocations: 363.7 kB / 349.6 MB, free: 12.34 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006394/0.3146, allocations: 0.5294 MB / 350.1 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008828/0.3155, allocations: 476.4 kB / 350.5 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.3188, allocations: 2.972 MB / 353.5 MB, free: 8.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3188, allocations: 4 kB / 353.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.3188, allocations: 0 / 353.5 MB, free: 8.355 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001385/0.319, allocations: 0 / 353.5 MB, free: 8.355 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.007496/0.3265, allocations: 2.666 MB / 356.2 MB, free: 5.629 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3266, allocations: 16.02 kB / 356.2 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009333/0.3275, allocations: 276.8 kB / 356.5 MB, free: 5.34 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00245/0.33, allocations: 1.303 MB / 357.8 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000221/0.3302, allocations: 240.9 kB / 358 MB, free: 3.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006302/0.3308, allocations: 231.8 kB / 358.2 MB, free: 3.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.335, allocations: 2.158 MB / 360.4 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.335, allocations: 3.984 kB / 360.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001872/0.3352, allocations: 80 kB / 360.5 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.613e-05/0.3353, allocations: 52 kB / 360.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004319/0.3396, allocations: 1.943 MB / 362.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01425/0.3539, allocations: 7.88 MB / 370.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.3576, allocations: 2.115 MB / 372.5 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.3578, allocations: 25.98 kB / 372.5 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.3578, allocations: 64.5 kB / 372.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of pre-optimization done (n=208): time 3.676e-06/0.3578, allocations: 4 kB / 372.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=250): time 0.0552/0.413, allocations: 14.76 MB / 387.3 MB, free: 5.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002231/0.4133, allocations: 393.8 kB / 387.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.4159, allocations: 1.498 MB / 389.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006007/0.4166, allocations: 73.7 kB / 389.3 MB, free: 3.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/0.4173, allocations: 0.8275 MB / 390.1 MB, free: 2.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001159/0.4185, allocations: 0.8353 MB / 390.9 MB, free: 2.148 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.4186, allocations: 51.98 kB / 391 MB, free: 2.098 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.4188, allocations: 394.7 kB / 391.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002222/0.4211, allocations: 1.016 MB / 392.4 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.4235, allocations: 1.26 MB / 393.7 MB, free: 15.36 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.02943/0.453, allocations: 7.461 MB / 401.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.453, allocations: 4 kB / 401.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005825/0.4589, allocations: 2.975 MB / 404.1 MB, free: 4.785 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4589, allocations: 4 kB / 404.1 MB, free: 4.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.4589, allocations: 7.938 kB / 404.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000926/0.4599, allocations: 357 kB / 404.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/0.4625, allocations: 0.5539 MB / 405 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/0.4714, allocations: 10.11 MB / 415.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00274/0.4742, allocations: 136 kB / 415.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/0.4745, allocations: 91.95 kB / 415.3 MB, free: 8.715 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.001297/0.4758, allocations: 468.3 kB / 415.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005102/0.4764, allocations: 201.6 kB / 416 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008356/0.4847, allocations: 3.531 MB / 419.5 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.4848, allocations: 28 kB / 419.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.4848, allocations: 7.984 kB / 419.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.522e-05/0.4849, allocations: 11.95 kB / 419.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.4983, allocations: 6.278 MB / 425.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.4983, allocations: 0 / 425.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/0.5004, allocations: 435.4 kB / 426.3 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00603/0.5065, allocations: 1.256 MB / 427.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003924/0.5069, allocations: 63.97 kB / 427.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0204/0.5273, allocations: 17.67 MB / 445.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.5273, allocations: 0 / 445.3 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01199/0.5393, allocations: 5.055 MB / 450.3 MB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.5407, allocations: 0.5256 MB / 450.8 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003874/0.5411, allocations: 52 kB / 450.9 MB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001895/0.543, allocations: 155.9 kB / 451 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004822/0.5435, allocations: 201.8 kB / 451.2 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.5437, allocations: 67.98 kB / 451.3 MB, free: 3.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001457/0.5451, allocations: 1.029 MB / 452.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5451, allocations: 0 / 452.3 MB, free: 2.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002657/0.5478, allocations: 0.6914 MB / 453 MB, free: 1.371 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.0005543/0.5484, allocations: 260.9 kB / 453.3 MB, free: 1.109 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.156/0.7044, allocations: 3.404 MB / 456.7 MB, free: 111.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/0.7045, allocations: 1.062 kB / 456.7 MB, free: 111.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004432/0.7089, allocations: 2.636 MB / 459.3 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.7112, allocations: 320.8 kB / 459.6 MB, free: 110.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008988/0.7202, allocations: 6.36 MB / 466 MB, free: 107.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/0.7212, allocations: 1.608 MB / 467.6 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001598/0.7228, allocations: 300.9 kB / 467.9 MB, free: 106.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.7234, allocations: 160.8 kB / 468.1 MB, free: 106.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.422e-06/0.7234, allocations: 0 / 468.1 MB, free: 106.3 MB / 382.1 MB Notification: Performance of Templates: time 0.0514/0.7748, allocations: 35.24 MB / 0.4915 GB, free: 73.28 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: