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.00152/0.00152, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.001781, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 60.16 kB / 306.4 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0851/0.08623, allocations: 50.53 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01033/0.0966, allocations: 10.5 MB / 367.5 MB, free: 3.867 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1548/0.2514, allocations: 6.417 MB / 373.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.2532, allocations: 37.22 kB / 373.9 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.2542, allocations: 389.8 kB / 374.3 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.2561, allocations: 0.7976 MB / 375.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004972/0.2611, allocations: 2.264 MB / 377.4 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.265, allocations: 3.465 MB / 380.8 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009775/0.266, allocations: 0.746 MB / 381.6 MB, free: 7.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.2679, allocations: 1.288 MB / 382.9 MB, free: 6.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00166/0.2696, allocations: 1.485 MB / 384.4 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004416/0.27, allocations: 328.4 kB / 384.7 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.2711, allocations: 0.574 MB / 385.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.2716, allocations: 0.7337 MB / 386 MB, free: 5.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.2728, allocations: 1.411 MB / 387.4 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.2759, allocations: 3.889 MB / 391.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2759, allocations: 0 / 391.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2759, allocations: 0 / 391.3 MB, free: 2.285 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.607e-05/0.276, allocations: 5.031 kB / 391.3 MB, free: 2.281 MB / 302.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.006355/0.2824, allocations: 3.093 MB / 394.4 MB, free: 216 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2824, allocations: 8.25 kB / 394.4 MB, free: 216 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006947/0.2831, allocations: 299.1 kB / 394.7 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.2851, allocations: 1.379 MB / 396.1 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.2854, allocations: 246.4 kB / 396.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005173/0.2859, allocations: 237 kB / 396.5 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/0.2896, allocations: 2.171 MB / 398.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.025e-05/0.2897, allocations: 2.906 kB / 398.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/0.2899, allocations: 78.06 kB / 398.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.2899, allocations: 50.66 kB / 398.8 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003547/0.2935, allocations: 1.916 MB / 400.8 MB, free: 12.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0111/0.3046, allocations: 7.851 MB / 408.6 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/0.308, allocations: 2.073 MB / 410.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001998/0.31, allocations: 1.234 MB / 411.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.3102, allocations: 27.47 kB / 411.9 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.301e-05/0.3102, allocations: 68.48 kB / 412 MB, free: 1.609 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.696e-06/0.3102, allocations: 4 kB / 412 MB, free: 1.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05075/0.361, allocations: 14.09 MB / 426.1 MB, free: 3.375 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001865/0.3612, allocations: 389.8 kB / 426.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002225/0.3635, allocations: 1.522 MB / 428 MB, free: 1.379 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002893/0.3638, allocations: 77.7 kB / 428.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/0.3644, allocations: 0.8236 MB / 428.9 MB, free: 476 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008235/0.3652, allocations: 0.8359 MB / 429.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006868/0.3659, allocations: 408.5 kB / 430.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.353e-05/0.366, allocations: 305.1 kB / 430.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.3681, allocations: 0.9924 MB / 431.4 MB, free: 13.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/0.3704, allocations: 1.252 MB / 432.7 MB, free: 12.61 MB / 350.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.03228/0.4027, allocations: 9.396 MB / 442.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4027, allocations: 0 / 442.1 MB, free: 3.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005848/0.4086, allocations: 2.939 MB / 445 MB, free: 100 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.4086, allocations: 18.73 kB / 445 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.4086, allocations: 4 kB / 445 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009722/0.4096, allocations: 362.9 kB / 445.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002563/0.4122, allocations: 0.5461 MB / 445.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00896/0.4212, allocations: 11.11 MB / 457 MB, free: 3.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.4235, allocations: 124 kB / 457.2 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.4237, allocations: 88.52 kB / 457.3 MB, free: 3.031 MB / 366.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.winding12.i = transformer.I1Start[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 (256): * Single equations (assignments): 244 * 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,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009792/0.4247, allocations: 465.3 kB / 457.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004715/0.4252, allocations: 209.5 kB / 457.9 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008487/0.4337, allocations: 3.45 MB / 461.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.962e-05/0.4337, allocations: 28 kB / 461.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.4338, allocations: 15.92 kB / 461.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/0.4338, allocations: 11.95 kB / 461.4 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.4473, allocations: 6.179 MB / 467.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/0.4473, allocations: 4 kB / 467.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/0.4494, allocations: 423.4 kB / 468 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005683/0.4551, allocations: 1.208 MB / 469.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003043/0.4554, allocations: 71.86 kB / 469.3 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/0.4772, allocations: 19.02 MB / 488.3 MB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4772, allocations: 11.97 kB / 488.3 MB, free: 2.527 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.488, allocations: 4.898 MB / 493.2 MB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.4891, allocations: 0.5334 MB / 493.8 MB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.4895, allocations: 63.88 kB / 493.8 MB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/0.4914, allocations: 131.9 kB / 493.9 MB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/0.4919, allocations: 201.7 kB / 494.1 MB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.4921, allocations: 71.98 kB / 494.2 MB, free: 12.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001441/0.4935, allocations: 1.045 MB / 495.3 MB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.4935, allocations: 4 kB / 495.3 MB, free: 11.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002635/0.4962, allocations: 0.6975 MB / 496 MB, free: 10.76 MB / 414.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 (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,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006037/0.4968, allocations: 255.9 kB / 496.2 MB, free: 10.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009885/0.5067, allocations: 3.762 MB / 500 MB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.5067, allocations: 0 / 500 MB, free: 6.613 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00395/0.5107, allocations: 2.6 MB / 0.4908 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00247/0.5132, allocations: 392.2 kB / 0.4912 GB, free: 3.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00981/0.523, allocations: 6.305 MB / 0.4973 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.5242, allocations: 1.565 MB / 0.4989 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00156/0.5258, allocations: 291.9 kB / 0.4991 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.5264, allocations: 163.3 kB / 0.4993 GB, free: 11.13 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5264, allocations: 0 / 0.4993 GB, free: 11.13 MB / 430.1 MB Notification: Performance of Templates: time 0.2155/0.7419, allocations: 38.75 MB / 0.5371 GB, free: 144.3 MB / 446.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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches