Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.17/1.17, allocations: 205.1 MB / 223.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000958/0.000958, allocations: 98.3 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007744/0.0007745, allocations: 31.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2153, allocations: 46.63 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.008343/0.2237, allocations: 10.39 MB / 384.2 MB, free: 37.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009354/0.2331, allocations: 6.699 MB / 390.9 MB, free: 32.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.2348, allocations: 35.81 kB / 391 MB, free: 32.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.2357, allocations: 381.4 kB / 391.3 MB, free: 31.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00169/0.2375, allocations: 0.7878 MB / 392.1 MB, free: 31.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.2417, allocations: 2.041 MB / 394.2 MB, free: 29.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.2459, allocations: 3.405 MB / 397.6 MB, free: 25.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008536/0.2467, allocations: 0.6581 MB / 398.2 MB, free: 25.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.2482, allocations: 1.117 MB / 399.3 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.2495, allocations: 1.361 MB / 400.7 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.2498, allocations: 172 kB / 400.9 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.2508, allocations: 427.5 kB / 401.3 MB, free: 21.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004896/0.2513, allocations: 0.5798 MB / 401.9 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000871/0.2522, allocations: 1.251 MB / 403.1 MB, free: 20.13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002083/0.2543, allocations: 3.749 MB / 406.9 MB, free: 16.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2543, allocations: 0 / 406.9 MB, free: 16.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2543, allocations: 0 / 406.9 MB, free: 16.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.2543, allocations: 3.938 kB / 406.9 MB, free: 16.37 MB / 298.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.005639/0.26, allocations: 3.063 MB / 409.9 MB, free: 13.24 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.26, allocations: 12.03 kB / 409.9 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003424/0.2604, allocations: 277.7 kB / 410.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.2619, allocations: 1.35 MB / 411.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.262, allocations: 245.5 kB / 411.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004101/0.2624, allocations: 243.8 kB / 412 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.2651, allocations: 2.169 MB / 414.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.247e-05/0.2652, allocations: 3.938 kB / 414.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.2653, allocations: 80 kB / 414.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.2653, allocations: 48 kB / 414.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/0.2683, allocations: 1.92 MB / 416.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008489/0.2768, allocations: 7.841 MB / 424.1 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/0.2799, allocations: 2.081 MB / 426.2 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.2817, allocations: 1.231 MB / 427.4 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.2818, allocations: 29.92 kB / 427.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.2819, allocations: 72.48 kB / 427.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=208): time 3.667e-06/0.2819, allocations: 0 / 427.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=250): time 0.04677/0.3287, allocations: 14.07 MB / 441.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/0.3289, allocations: 393.8 kB / 442 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.3307, allocations: 1.51 MB / 443.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.3309, allocations: 73.64 kB / 443.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.3314, allocations: 0.8197 MB / 444.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/0.332, allocations: 0.8354 MB / 445.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006453/0.3326, allocations: 416.5 kB / 445.6 MB, free: 8.809 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.386e-05/0.3327, allocations: 305.1 kB / 445.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.3346, allocations: 0.9846 MB / 446.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.3367, allocations: 1.252 MB / 448.1 MB, free: 6.199 MB / 330.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.02987/0.3666, allocations: 9.382 MB / 457.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3666, allocations: 0 / 457.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005377/0.372, allocations: 2.932 MB / 460.5 MB, free: 9.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.372, allocations: 8 kB / 460.5 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.3721, allocations: 7.984 kB / 460.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008678/0.3729, allocations: 357 kB / 460.8 MB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002397/0.3754, allocations: 0.5461 MB / 461.4 MB, free: 8.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.3832, allocations: 10.02 MB / 471.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.3852, allocations: 123.9 kB / 471.5 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.3854, allocations: 87.95 kB / 471.6 MB, free: 13.74 MB / 362.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.0008649/0.3863, allocations: 469.3 kB / 472.1 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003697/0.3866, allocations: 209.5 kB / 472.3 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007853/0.3945, allocations: 3.449 MB / 475.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.3945, allocations: 27.94 kB / 475.7 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3945, allocations: 7.984 kB / 475.7 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.3946, allocations: 15.95 kB / 475.8 MB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.406, allocations: 6.188 MB / 481.9 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.406, allocations: 4.125 kB / 482 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.4078, allocations: 415.5 kB / 482.4 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005095/0.4129, allocations: 1.206 MB / 483.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/0.4131, allocations: 67.97 kB / 483.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/0.4312, allocations: 17.2 MB / 0.4891 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4312, allocations: 4.031 kB / 0.4891 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2241/0.6553, allocations: 47.5 MB / 0.5355 GB, free: 100.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006803/0.656, allocations: 0.529 MB / 0.536 GB, free: 100.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002519/0.6563, allocations: 59.98 kB / 0.5361 GB, free: 100 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.6579, allocations: 131.4 kB / 0.5362 GB, free: 99.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004379/0.6583, allocations: 193.1 kB / 0.5364 GB, free: 99.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.6585, allocations: 75.97 kB / 0.5364 GB, free: 99.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009897/0.6595, allocations: 1.045 MB / 0.5375 GB, free: 98.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6595, allocations: 0 / 0.5375 GB, free: 98.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002788/0.6623, allocations: 1.028 MB / 0.5385 GB, free: 97.58 MB / 394.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.0004061/0.6627, allocations: 254 kB / 0.5387 GB, free: 97.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004244/0.6669, allocations: 3.356 MB / 0.542 GB, free: 93.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.667, allocations: 4 kB / 0.542 GB, free: 93.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.6697, allocations: 2.595 MB / 0.5445 GB, free: 91.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001605/0.6713, allocations: 372.8 kB / 0.5449 GB, free: 90.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009202/0.6805, allocations: 9.159 MB / 0.5538 GB, free: 81.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.6813, allocations: 1.662 MB / 0.5554 GB, free: 79.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001274/0.6826, allocations: 335.8 kB / 0.5558 GB, free: 79.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006868/0.6833, allocations: 183.3 kB / 0.5559 GB, free: 79.43 MB / 394.7 MB Notification: Performance of SimCode: time 7.92e-07/0.6833, allocations: 4 kB / 0.5559 GB, free: 79.43 MB / 394.7 MB Notification: Performance of Templates: time 0.05591/0.7392, allocations: 52.53 MB / 0.6072 GB, free: 26.87 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/ThreePhaseTransformerWithRectifier/ThreePhaseTransformerWithRectifier.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches