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.00103/0.00103, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001099/0.001099, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.275/1.275, allocations: 222.9 MB / 241.5 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 54.48 kB / 300.6 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08219/0.08321, allocations: 49.43 MB / 350.1 MB, free: 4.402 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.01086/0.0941, allocations: 10.57 MB / 360.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.1053, allocations: 6.274 MB / 366.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.1073, allocations: 39.81 kB / 366.9 MB, free: 3.441 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.1091, allocations: 491.8 kB / 367.4 MB, free: 2.957 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.1124, allocations: 0.9037 MB / 368.3 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1541/0.2666, allocations: 2.493 MB / 370.8 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004882/0.2715, allocations: 3.445 MB / 374.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.2725, allocations: 0.7548 MB / 375 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001728/0.2742, allocations: 1.271 MB / 376.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001515/0.2757, allocations: 1.464 MB / 377.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000443/0.2762, allocations: 327.9 kB / 378.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001082/0.2773, allocations: 0.5672 MB / 378.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005664/0.2779, allocations: 0.7379 MB / 379.4 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.2791, allocations: 1.396 MB / 380.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003462/0.2826, allocations: 3.881 MB / 384.7 MB, free: 7.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2826, allocations: 7.125 kB / 384.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2826, allocations: 0 / 384.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.987e-05/0.2827, allocations: 0 / 384.7 MB, free: 7.754 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.007392/0.2901, allocations: 3.073 MB / 387.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2901, allocations: 10.31 kB / 387.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005014/0.2906, allocations: 276.8 kB / 388 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002179/0.2928, allocations: 1.355 MB / 389.4 MB, free: 5.027 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.293, allocations: 238.8 kB / 389.6 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/0.2935, allocations: 245.2 kB / 389.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003164/0.2967, allocations: 2.161 MB / 392 MB, free: 3.422 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.2968, allocations: 9.625 kB / 392 MB, free: 3.414 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.2969, allocations: 81.19 kB / 392.1 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.297, allocations: 44.47 kB / 392.1 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.3004, allocations: 1.924 MB / 394.1 MB, free: 2.418 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/0.3113, allocations: 7.85 MB / 401.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00332/0.3146, allocations: 2.077 MB / 404 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.3167, allocations: 1.23 MB / 405.2 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001048/0.3168, allocations: 33.12 kB / 405.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/0.3168, allocations: 65.62 kB / 405.3 MB, free: 9.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 4.008e-06/0.3169, allocations: 3.938 kB / 405.3 MB, free: 9.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.05152/0.3684, allocations: 14.06 MB / 419.4 MB, free: 11.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001828/0.3686, allocations: 393.8 kB / 419.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.3707, allocations: 1.521 MB / 421.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.371, allocations: 69.7 kB / 421.4 MB, free: 9.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005518/0.3715, allocations: 0.8149 MB / 422.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006381/0.3722, allocations: 0.8392 MB / 423 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006636/0.3728, allocations: 411.6 kB / 423.4 MB, free: 7.195 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.618e-05/0.3729, allocations: 308.7 kB / 423.7 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.3751, allocations: 0.9924 MB / 424.7 MB, free: 5.898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.3773, allocations: 1.252 MB / 426 MB, free: 4.582 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.03274/0.4101, allocations: 9.396 MB / 435.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.4101, allocations: 0 / 435.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005922/0.416, allocations: 2.937 MB / 438.3 MB, free: 8.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.4161, allocations: 4 kB / 438.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.4161, allocations: 7.984 kB / 438.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009342/0.4171, allocations: 366.8 kB / 438.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.4196, allocations: 0.5459 MB / 439.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008766/0.4284, allocations: 11.11 MB / 450.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/0.4306, allocations: 131.9 kB / 450.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.4308, allocations: 83.95 kB / 450.5 MB, free: 11.14 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.0009729/0.4318, allocations: 467.9 kB / 451 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005722/0.4324, allocations: 201.6 kB / 451.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/0.4408, allocations: 3.456 MB / 454.6 MB, free: 6.984 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.4408, allocations: 28 kB / 454.7 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.886e-05/0.4409, allocations: 7.984 kB / 454.7 MB, free: 6.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/0.4409, allocations: 11.95 kB / 454.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/0.4544, allocations: 6.175 MB / 460.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.4544, allocations: 4 kB / 460.9 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.4565, allocations: 423.7 kB / 461.3 MB, free: 292 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005725/0.4622, allocations: 1.217 MB / 462.5 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000288/0.4625, allocations: 71.91 kB / 462.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0213/0.4839, allocations: 19.03 MB / 481.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.4839, allocations: 3.938 kB / 481.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01123/0.4951, allocations: 4.893 MB / 486.5 MB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.4964, allocations: 0.5294 MB / 487 MB, free: 5.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005413/0.4969, allocations: 63.92 kB / 487.1 MB, free: 5.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002069/0.499, allocations: 131.9 kB / 487.2 MB, free: 4.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005177/0.4995, allocations: 201.7 kB / 487.4 MB, free: 4.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001616/0.4997, allocations: 75.97 kB / 487.5 MB, free: 4.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.5012, allocations: 1.041 MB / 488.5 MB, free: 3.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5012, allocations: 0 / 488.5 MB, free: 3.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003121/0.5044, allocations: 0.6953 MB / 489.2 MB, free: 2.961 MB / 398.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.0006759/0.5051, allocations: 251.3 kB / 489.5 MB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0101/0.5152, allocations: 3.762 MB / 493.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.5152, allocations: 0 / 493.2 MB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00417/0.5194, allocations: 2.609 MB / 495.8 MB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/0.5228, allocations: 394.8 kB / 496.2 MB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009686/0.5325, allocations: 5.313 MB / 0.4898 GB, free: 6.367 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.5338, allocations: 1.569 MB / 0.4913 GB, free: 4.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001441/0.5352, allocations: 299.8 kB / 0.4916 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006364/0.5359, allocations: 159.4 kB / 0.4917 GB, free: 4.309 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5359, allocations: 4 kB / 0.4918 GB, free: 4.305 MB / 414.1 MB Notification: Performance of Templates: time 0.2086/0.7445, allocations: 39.26 MB / 0.5301 GB, free: 151.2 MB / 446.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) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches