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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.26/1.26, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001005, allocations: 105.7 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2108, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.007371/0.2182, allocations: 10.49 MB / 417.5 MB, free: 17.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008564/0.2268, allocations: 6.735 MB / 424.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002118/0.229, allocations: 35.88 kB / 424.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.2303, allocations: 389.3 kB / 424.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.2324, allocations: 0.7801 MB / 425.5 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.2363, allocations: 2.046 MB / 427.5 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002566/0.2388, allocations: 3.414 MB / 430.9 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007527/0.2396, allocations: 0.6503 MB / 431.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.2408, allocations: 1.117 MB / 432.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001394/0.2422, allocations: 1.365 MB / 434.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000379/0.2426, allocations: 172 kB / 434.2 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007587/0.2433, allocations: 423.6 kB / 434.7 MB, free: 128 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004603/0.2438, allocations: 0.5837 MB / 435.2 MB, free: 15.54 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.2449, allocations: 1.259 MB / 436.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002733/0.2476, allocations: 3.741 MB / 440.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2476, allocations: 3.984 kB / 440.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.2476, allocations: 0 / 440.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.2477, allocations: 4 kB / 440.2 MB, free: 10.51 MB / 314.7 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.006918/0.2546, allocations: 3.079 MB / 443.3 MB, free: 7.371 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.2546, allocations: 12.59 kB / 443.3 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006908/0.2553, allocations: 301.7 kB / 443.6 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.2572, allocations: 1.354 MB / 445 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/0.2574, allocations: 241.5 kB / 445.2 MB, free: 5.402 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005066/0.258, allocations: 239.9 kB / 445.5 MB, free: 5.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.2616, allocations: 2.171 MB / 447.6 MB, free: 2.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/0.2616, allocations: 3.984 kB / 447.6 MB, free: 2.914 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.2618, allocations: 87.94 kB / 447.7 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.341e-05/0.2618, allocations: 48 kB / 447.8 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003736/0.2656, allocations: 1.912 MB / 449.7 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.277, allocations: 7.856 MB / 457.5 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003333/0.2804, allocations: 2.08 MB / 459.6 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001965/0.2824, allocations: 1.223 MB / 460.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.2825, allocations: 33.92 kB / 460.9 MB, free: 5.391 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2825, allocations: 64.5 kB / 460.9 MB, free: 5.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=208): time 4.188e-06/0.2826, allocations: 4 kB / 460.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.0495/0.3321, allocations: 14.05 MB / 475 MB, free: 7.082 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.3322, allocations: 397.8 kB / 475.4 MB, free: 6.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.3343, allocations: 1.51 MB / 476.9 MB, free: 5.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.3345, allocations: 73.7 kB / 477 MB, free: 5.012 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.3351, allocations: 0.8198 MB / 477.8 MB, free: 4.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000664/0.3358, allocations: 0.8431 MB / 478.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007039/0.3365, allocations: 408.5 kB / 479 MB, free: 2.922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.3366, allocations: 313 kB / 479.3 MB, free: 2.613 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002081/0.3387, allocations: 0.9846 MB / 480.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.341, allocations: 1.252 MB / 481.6 MB, free: 312 kB / 346.7 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.03197/0.373, allocations: 9.37 MB / 490.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.373, allocations: 0 / 490.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005913/0.3789, allocations: 2.94 MB / 493.9 MB, free: 3.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.379, allocations: 4 kB / 493.9 MB, free: 3.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.526e-05/0.379, allocations: 12 kB / 493.9 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009251/0.3799, allocations: 360.9 kB / 494.2 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002488/0.3824, allocations: 0.5422 MB / 494.8 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008152/0.3906, allocations: 10.02 MB / 0.493 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/0.3927, allocations: 124 kB / 0.4931 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/0.393, allocations: 83.95 kB / 0.4932 GB, free: 7.844 MB / 378.7 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.001155/0.3942, allocations: 470.8 kB / 0.4936 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.3949, allocations: 209.5 kB / 0.4938 GB, free: 7.168 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008754/0.4036, allocations: 3.445 MB / 0.4972 GB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/0.4037, allocations: 27.94 kB / 0.4972 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/0.4037, allocations: 4 kB / 0.4972 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.261e-05/0.4037, allocations: 19.94 kB / 0.4972 GB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1754/0.5792, allocations: 6.171 MB / 0.5033 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.5793, allocations: 2.406 kB / 0.5033 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002048/0.5813, allocations: 427.8 kB / 0.5037 GB, free: 91.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005628/0.587, allocations: 1.198 MB / 0.5048 GB, free: 91.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002877/0.5873, allocations: 66.28 kB / 0.5049 GB, free: 91.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01689/0.6042, allocations: 17.22 MB / 0.5217 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.6042, allocations: 0 / 0.5217 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0902/0.6944, allocations: 47.51 MB / 0.5681 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009363/0.6954, allocations: 0.5325 MB / 0.5686 GB, free: 30.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.6957, allocations: 59.98 kB / 0.5687 GB, free: 30.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.6974, allocations: 135.9 kB / 0.5688 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005412/0.698, allocations: 201.7 kB / 0.569 GB, free: 30.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.6981, allocations: 71.98 kB / 0.5691 GB, free: 30.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.6993, allocations: 1.041 MB / 0.5701 GB, free: 29.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.6993, allocations: 0 / 0.5701 GB, free: 29.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003613/0.7029, allocations: 1.033 MB / 0.5711 GB, free: 28.15 MB / 378.7 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.0006291/0.7036, allocations: 259.6 kB / 0.5714 GB, free: 27.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005039/0.7086, allocations: 3.353 MB / 0.5746 GB, free: 24.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/0.7087, allocations: 0 / 0.5746 GB, free: 24.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003262/0.7119, allocations: 2.602 MB / 0.5772 GB, free: 21.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.714, allocations: 375 kB / 0.5775 GB, free: 21.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.7244, allocations: 9.161 MB / 0.5865 GB, free: 12.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008879/0.7253, allocations: 1.654 MB / 0.5881 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001557/0.7269, allocations: 339.8 kB / 0.5884 GB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/0.7276, allocations: 179.3 kB / 0.5886 GB, free: 9.879 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.7276, allocations: 0 / 0.5886 GB, free: 9.879 MB / 378.7 MB Notification: Performance of Templates: time 0.07135/0.799, allocations: 52.53 MB / 0.6399 GB, free: 5.559 MB / 426.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches