Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|capacitor1.v|capacitor2.v",fileNamePrefix="Modelica_4.0.0_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.001521/0.001521, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.0018/0.0018, allocations: 185.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 39.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.226, allocations: 49.44 MB / 401.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01035/0.2364, allocations: 10.56 MB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009902/0.2463, allocations: 6.27 MB / 418.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.2479, allocations: 39.81 kB / 418.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.249, allocations: 491.9 kB / 418.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002289/0.2513, allocations: 0.931 MB / 419.7 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004968/0.2563, allocations: 2.497 MB / 422.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004004/0.2603, allocations: 3.473 MB / 425.7 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.2615, allocations: 0.7487 MB / 426.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.2632, allocations: 1.293 MB / 427.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.2648, allocations: 1.471 MB / 429.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004178/0.2653, allocations: 332 kB / 429.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009799/0.2663, allocations: 0.566 MB / 430.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005988/0.2669, allocations: 0.7244 MB / 430.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.2682, allocations: 1.407 MB / 432.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.2718, allocations: 3.932 MB / 436.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2718, allocations: 0 / 436.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2718, allocations: 0 / 436.2 MB, free: 6.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.801e-05/0.2718, allocations: 0 / 436.2 MB, free: 6.145 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.007191/0.279, allocations: 3.074 MB / 439.2 MB, free: 3.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.2791, allocations: 12.03 kB / 439.2 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004552/0.2796, allocations: 277.7 kB / 439.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.2817, allocations: 1.373 MB / 440.9 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.2819, allocations: 249.5 kB / 441.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005424/0.2825, allocations: 243.9 kB / 441.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/0.2863, allocations: 2.169 MB / 443.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.2863, allocations: 0 / 443.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001776/0.2865, allocations: 80 kB / 443.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/0.2866, allocations: 48 kB / 443.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003828/0.2904, allocations: 1.92 MB / 445.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01127/0.3017, allocations: 7.771 MB / 453.4 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.3052, allocations: 2.089 MB / 455.4 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003011/0.3082, allocations: 1.582 MB / 457 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.632e-05/0.3083, allocations: 29.94 kB / 457.1 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.3084, allocations: 64.48 kB / 457.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=208): time 4.027e-06/0.3084, allocations: 0 / 457.1 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of matching and sorting (n=250): time 0.05265/0.3611, allocations: 14.07 MB / 471.2 MB, free: 2.445 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.3613, allocations: 393.8 kB / 471.6 MB, free: 1.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.3636, allocations: 1.51 MB / 473.1 MB, free: 464 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.3638, allocations: 73.7 kB / 473.2 MB, free: 384 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005988/0.3644, allocations: 0.8158 MB / 474 MB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007313/0.3651, allocations: 0.8393 MB / 474.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007661/0.3659, allocations: 408.5 kB / 475.2 MB, free: 14.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.366, allocations: 301.1 kB / 475.5 MB, free: 14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00222/0.3683, allocations: 0.9963 MB / 476.5 MB, free: 13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/0.3707, allocations: 1.26 MB / 477.8 MB, free: 11.67 MB / 398.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.03336/0.4041, allocations: 9.417 MB / 487.2 MB, free: 2.125 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/0.4041, allocations: 0 / 487.2 MB, free: 2.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.006596/0.4107, allocations: 2.948 MB / 490.1 MB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.4108, allocations: 8 kB / 490.1 MB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.879e-05/0.4108, allocations: 15.86 kB / 490.1 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/0.4118, allocations: 345.1 kB / 490.5 MB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002653/0.4145, allocations: 0.55 MB / 491 MB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008753/0.4232, allocations: 10.94 MB / 0.4902 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.4254, allocations: 120 kB / 0.4903 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002404/0.4256, allocations: 87.95 kB / 0.4904 GB, free: 2.199 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.00102/0.4266, allocations: 467.2 kB / 0.4909 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005652/0.4272, allocations: 213.4 kB / 0.4911 GB, free: 1.523 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008819/0.436, allocations: 3.461 MB / 0.4944 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.4361, allocations: 11.95 kB / 0.4944 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4361, allocations: 4 kB / 0.4945 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.4371, allocations: 0.5295 MB / 0.495 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.4376, allocations: 59.98 kB / 0.495 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/0.4396, allocations: 131.9 kB / 0.4952 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.44, allocations: 185.7 kB / 0.4953 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01117/0.4512, allocations: 3.882 MB / 0.4991 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007778/0.459, allocations: 4.328 MB / 0.5033 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002223/0.4612, allocations: 1.195 MB / 0.5045 GB, free: 3.441 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.4628, allocations: 1.037 MB / 0.5055 GB, free: 2.406 MB / 430.1 MB Notification: Performance of Backend: time 4.61e-07/0.4628, allocations: 0 / 0.5055 GB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005938/0.4687, allocations: 2.632 MB / 0.5081 GB, free: 15.67 MB / 446.1 MB Notification: Performance of SimCode: time 0.007904/0.4767, allocations: 5.569 MB / 0.5135 GB, free: 10.05 MB / 446.1 MB Notification: Performance of Templates: time 0.2301/0.7068, allocations: 39.93 MB / 0.5525 GB, free: 128.2 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)