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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001055, allocations: 98.56 kB / 16.94 MB, free: 5.98 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.001227/0.001227, allocations: 179.6 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004508, allocations: 16 kB / 280.8 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09066, allocations: 47.57 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier): time 0.009417/0.1001, allocations: 8.416 MB / 336.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01137/0.1116, allocations: 6.174 MB / 342.9 MB, free: 5.461 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.114, allocations: 35.81 kB / 343 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.1154, allocations: 389.6 kB / 343.3 MB, free: 5.043 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.1186, allocations: 0.8841 MB / 344.2 MB, free: 4.156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.1239, allocations: 1.755 MB / 346 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004459/0.1284, allocations: 2.117 MB / 348.1 MB, free: 284 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.1294, allocations: 0.5847 MB / 348.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.1311, allocations: 1.024 MB / 349.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/0.1326, allocations: 1.222 MB / 350.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.1329, allocations: 148 kB / 351.1 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008557/0.1338, allocations: 371.6 kB / 351.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000513/0.1343, allocations: 0.5255 MB / 352 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.1349, allocations: 480.3 kB / 352.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.1379, allocations: 2.976 MB / 355.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1379, allocations: 0 / 355.4 MB, free: 8.918 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1379, allocations: 4 kB / 355.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.81e-05/0.138, allocations: 0 / 355.4 MB, free: 8.914 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.006754/0.1448, allocations: 2.658 MB / 358.1 MB, free: 6.195 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.1449, allocations: 16.02 kB / 358.1 MB, free: 6.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000786/0.1456, allocations: 280.7 kB / 358.4 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00278/0.1484, allocations: 1.299 MB / 359.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002714/0.1487, allocations: 236.9 kB / 359.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005955/0.1493, allocations: 239.9 kB / 360.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003907/0.1532, allocations: 2.158 MB / 362.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.1533, allocations: 0 / 362.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.1535, allocations: 84 kB / 362.4 MB, free: 1.746 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.1535, allocations: 55.94 kB / 362.4 MB, free: 1.691 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.1573, allocations: 1.943 MB / 364.4 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.1694, allocations: 7.88 MB / 372.2 MB, free: 7.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/0.1728, allocations: 2.111 MB / 374.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.1729, allocations: 29.98 kB / 374.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.173, allocations: 56.56 kB / 374.4 MB, free: 5.395 MB / 318.1 MB Notification: Performance of pre-optimization done (n=208): time 3.928e-06/0.173, allocations: 4 kB / 374.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=250): time 0.2197/0.3927, allocations: 14.77 MB / 389.2 MB, free: 48.45 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.3928, allocations: 393.7 kB / 389.6 MB, free: 48.01 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.3949, allocations: 1.506 MB / 391.1 MB, free: 47.39 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.3952, allocations: 69.55 kB / 391.2 MB, free: 47.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.3956, allocations: 0.8189 MB / 392 MB, free: 46.69 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005696/0.3962, allocations: 0.8364 MB / 392.8 MB, free: 46.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.3963, allocations: 48.16 kB / 392.9 MB, free: 46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.908e-05/0.3964, allocations: 396.2 kB / 393.2 MB, free: 45.65 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001885/0.3983, allocations: 1.009 MB / 394.3 MB, free: 45.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.4004, allocations: 1.264 MB / 395.5 MB, free: 44.67 MB / 318.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.02679/0.4272, allocations: 7.477 MB / 403 MB, free: 40.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4272, allocations: 0 / 403 MB, free: 40.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=304) (initialization): time 0.005382/0.4326, allocations: 2.971 MB / 406 MB, free: 37.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.4326, allocations: 4 kB / 406 MB, free: 37.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.4327, allocations: 12.08 kB / 406 MB, free: 37.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008226/0.4335, allocations: 355.2 kB / 406.3 MB, free: 37.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.4359, allocations: 0.55 MB / 406.9 MB, free: 36.56 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006306/0.4422, allocations: 10.1 MB / 417 MB, free: 25.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.4448, allocations: 144.4 kB / 417.1 MB, free: 25.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.445, allocations: 87.95 kB / 417.2 MB, free: 25.47 MB / 318.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: transformer.H[1] = transformer.HStart[1] transformer.H[3] = transformer.HStart[3]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * 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 initialization (256): * Single equations (assignments): 244 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001108/0.4462, allocations: 466.8 kB / 417.7 MB, free: 25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004019/0.4466, allocations: 201.6 kB / 417.9 MB, free: 24.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007105/0.4537, allocations: 3.548 MB / 421.4 MB, free: 21.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.4537, allocations: 24 kB / 421.4 MB, free: 21.14 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.4537, allocations: 4 kB / 421.4 MB, free: 21.14 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.976e-05/0.4538, allocations: 11.95 kB / 421.4 MB, free: 21.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.4646, allocations: 6.27 MB / 427.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.4646, allocations: 0.875 kB / 427.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/0.4665, allocations: 431.4 kB / 428.1 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/0.4718, allocations: 1.264 MB / 429.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/0.4722, allocations: 59.97 kB / 429.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.4897, allocations: 17.67 MB / 447.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4898, allocations: 0 / 447.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.5014, allocations: 5.054 MB / 452.2 MB, free: 4.992 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.5032, allocations: 0.5294 MB / 452.7 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003476/0.5035, allocations: 59.98 kB / 452.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/0.5055, allocations: 155.9 kB / 452.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/0.5062, allocations: 197.7 kB / 453.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.5063, allocations: 71.98 kB / 453.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001591/0.5079, allocations: 1.033 MB / 454.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5079, allocations: 0 / 454.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003195/0.5112, allocations: 0.6974 MB / 454.9 MB, free: 2.246 MB / 334.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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 6 {1 8,1 8,1 8,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006627/0.5118, allocations: 256.3 kB / 455.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.006242/0.5181, allocations: 3.407 MB / 458.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5181, allocations: 384 / 458.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003966/0.5221, allocations: 2.628 MB / 461.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/0.524, allocations: 327.2 kB / 461.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/0.5335, allocations: 6.362 MB / 467.9 MB, free: 4.996 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.5346, allocations: 1.612 MB / 469.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001482/0.5361, allocations: 287.8 kB / 469.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.5367, allocations: 163.3 kB / 469.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5367, allocations: 0 / 469.9 MB, free: 2.902 MB / 350.1 MB Notification: Performance of Templates: time 0.06168/0.5984, allocations: 35.25 MB / 0.4934 GB, free: 15.61 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.ThreePhaseTransformerWithRectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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