Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 206.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2165, allocations: 50.54 MB / 409.9 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01039/0.2269, allocations: 10.58 MB / 420.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009789/0.2367, allocations: 6.387 MB / 426.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2381, allocations: 39.81 kB / 427 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.2393, allocations: 485.2 kB / 427.4 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002419/0.2418, allocations: 0.9349 MB / 428.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004879/0.2467, allocations: 2.538 MB / 430.9 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.2498, allocations: 3.477 MB / 434.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008824/0.2507, allocations: 0.7526 MB / 435.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001216/0.252, allocations: 1.293 MB / 436.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.2534, allocations: 1.467 MB / 437.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003827/0.2538, allocations: 335.9 kB / 438.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.2547, allocations: 0.5738 MB / 438.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005551/0.2552, allocations: 0.7282 MB / 439.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.2563, allocations: 1.4 MB / 440.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003054/0.2594, allocations: 3.944 MB / 444.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2594, allocations: 0 / 444.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2594, allocations: 0 / 444.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.79e-05/0.2595, allocations: 0 / 444.9 MB, free: 14.55 MB / 366.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.006567/0.266, allocations: 3.093 MB / 448 MB, free: 11.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2661, allocations: 8.031 kB / 448 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006655/0.2668, allocations: 309.6 kB / 448.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.2687, allocations: 1.385 MB / 449.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.2689, allocations: 249.4 kB / 449.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005127/0.2694, allocations: 232 kB / 450.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003585/0.273, allocations: 2.162 MB / 452.3 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.2731, allocations: 11.92 kB / 452.3 MB, free: 6.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001822/0.2733, allocations: 80 kB / 452.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.2733, allocations: 52 kB / 452.4 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.2771, allocations: 1.916 MB / 454.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.2876, allocations: 7.786 MB / 462.1 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.291, allocations: 2.068 MB / 464.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/0.294, allocations: 1.59 MB / 465.8 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-05/0.2941, allocations: 33.86 kB / 465.8 MB, free: 9.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.2942, allocations: 64.56 kB / 465.9 MB, free: 9.035 MB / 382.1 MB Notification: Performance of pre-optimization done (n=208): time 3.457e-06/0.2942, allocations: 0 / 465.9 MB, free: 9.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=250): time 0.05132/0.3455, allocations: 14.07 MB / 480 MB, free: 10.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/0.3457, allocations: 393.8 kB / 480.3 MB, free: 10.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.3476, allocations: 1.515 MB / 481.9 MB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.3478, allocations: 73.7 kB / 481.9 MB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005425/0.3484, allocations: 0.8276 MB / 482.8 MB, free: 7.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005885/0.349, allocations: 0.8393 MB / 483.6 MB, free: 7.027 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006471/0.3496, allocations: 408.5 kB / 484 MB, free: 6.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.601e-05/0.3497, allocations: 305.1 kB / 484.3 MB, free: 6.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.3518, allocations: 0.9963 MB / 485.3 MB, free: 5.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.3541, allocations: 1.256 MB / 486.5 MB, free: 3.996 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.03247/0.3866, allocations: 9.429 MB / 496 MB, free: 10.44 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3866, allocations: 96 / 496 MB, free: 10.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005793/0.3924, allocations: 2.952 MB / 498.9 MB, free: 7.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.3924, allocations: 8 kB / 498.9 MB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.3924, allocations: 7.938 kB / 498.9 MB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009118/0.3934, allocations: 353 kB / 499.3 MB, free: 7.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.3961, allocations: 0.5461 MB / 499.8 MB, free: 6.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008659/0.4047, allocations: 10.94 MB / 0.4988 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.4066, allocations: 128 kB / 0.4989 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/0.4068, allocations: 83.95 kB / 0.499 GB, free: 10.52 MB / 430.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.0008742/0.4077, allocations: 469.6 kB / 0.4994 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/0.4081, allocations: 213.4 kB / 0.4996 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008638/0.4167, allocations: 3.461 MB / 0.503 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/0.4168, allocations: 11.95 kB / 0.503 GB, free: 6.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.4168, allocations: 4 kB / 0.503 GB, free: 6.277 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008865/0.4177, allocations: 0.5294 MB / 0.5036 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003415/0.418, allocations: 56 kB / 0.5036 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/0.4199, allocations: 135.9 kB / 0.5037 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/0.4203, allocations: 181.8 kB / 0.5039 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01091/0.4312, allocations: 3.886 MB / 0.5077 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007436/0.4386, allocations: 4.328 MB / 0.5119 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002117/0.4408, allocations: 1.191 MB / 0.5131 GB, free: 11.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.4421, allocations: 1.045 MB / 0.5141 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Backend: time 1.813e-06/0.4421, allocations: 0 / 0.5141 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004901/0.447, allocations: 2.632 MB / 0.5167 GB, free: 7.98 MB / 446.1 MB Notification: Performance of SimCode: time 0.00717/0.4542, allocations: 5.583 MB / 0.5221 GB, free: 2.344 MB / 446.1 MB Notification: Performance of Templates: time 0.2158/0.67, allocations: 40.01 MB / 0.5612 GB, free: 117.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1)