Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009809/0.000981, allocations: 201 kB / 17.38 MB, free: 4.426 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 226.6 MB / 244.7 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007613/0.0007614, allocations: 97.66 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002087/0.0002088, allocations: 8 kB / 356.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.191, allocations: 51.28 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.006405/0.1975, allocations: 9.443 MB / 417.5 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.2018, allocations: 3.084 MB / 420.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.203, allocations: 75.62 kB / 420.6 MB, free: 15.08 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.2041, allocations: 0.5356 MB / 421.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.2062, allocations: 1.022 MB / 422.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006789/0.2069, allocations: 283.7 kB / 422.5 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.2106, allocations: 5.346 MB / 427.8 MB, free: 7.867 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003343/0.214, allocations: 4.004 MB / 431.8 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002591/0.2166, allocations: 1.736 MB / 433.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.2189, allocations: 2.218 MB / 435.8 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005681/0.2195, allocations: 272 kB / 436.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.2205, allocations: 359.8 kB / 436.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001003/0.2216, allocations: 1.195 MB / 437.6 MB, free: 14 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002438/0.224, allocations: 2.203 MB / 439.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005613/0.2296, allocations: 6.833 MB / 446.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.2297, allocations: 0 / 446.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2297, allocations: 0 / 446.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001671/0.2298, allocations: 4 kB / 446.6 MB, free: 4.93 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.008414/0.2383, allocations: 4.3 MB / 450.9 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.2383, allocations: 8.031 kB / 450.9 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001908/0.2402, allocations: 0.5812 MB / 451.5 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004538/0.2448, allocations: 2.763 MB / 454.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.245, allocations: 295.8 kB / 454.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000625/0.2456, allocations: 383.9 kB / 455 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.2557, allocations: 5.774 MB / 460.7 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.475e-05/0.2558, allocations: 3.938 kB / 460.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/0.2562, allocations: 160 kB / 460.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001899/0.2564, allocations: 208 kB / 461.1 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009585/0.266, allocations: 5.001 MB / 466.1 MB, free: 1.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.2967, allocations: 16.52 MB / 482.6 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006735/0.3035, allocations: 6.802 MB / 489.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00375/0.3073, allocations: 2.669 MB / 492.1 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.3076, allocations: 135.1 kB / 492.2 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/0.3077, allocations: 68.56 kB / 492.3 MB, free: 6.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 6.712e-06/0.3077, allocations: 0 / 492.3 MB, free: 6.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.02048/0.3282, allocations: 10.75 MB / 0.4912 GB, free: 11.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.046e-05/0.3283, allocations: 81.41 kB / 0.4913 GB, free: 11.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003929/0.3322, allocations: 2.608 MB / 0.4939 GB, free: 8.438 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000317/0.3326, allocations: 69.7 kB / 0.4939 GB, free: 8.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.3338, allocations: 1.636 MB / 0.4955 GB, free: 6.707 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/0.3348, allocations: 0.8432 MB / 0.4964 GB, free: 5.852 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.335, allocations: 48 kB / 0.4964 GB, free: 5.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.3352, allocations: 402.7 kB / 0.4968 GB, free: 5.406 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.3372, allocations: 1.34 MB / 0.4981 GB, free: 4.062 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.3396, allocations: 1.647 MB / 0.4997 GB, free: 2.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1853/0.5249, allocations: 3.063 MB / 0.5027 GB, free: 88.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.525, allocations: 2.594 kB / 0.5027 GB, free: 88.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007554/0.5325, allocations: 4.444 MB / 0.507 GB, free: 86.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.5326, allocations: 6.656 kB / 0.507 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.5326, allocations: 14.14 kB / 0.507 GB, free: 86.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004981/0.5376, allocations: 1.647 MB / 0.5087 GB, free: 86.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.5394, allocations: 393.3 kB / 0.509 GB, free: 86.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/0.5579, allocations: 23.49 MB / 0.532 GB, free: 67.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.5597, allocations: 91.98 kB / 0.5321 GB, free: 67.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.5598, allocations: 84 kB / 0.5321 GB, free: 67.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001886/0.5617, allocations: 1.408 MB / 0.5335 GB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004288/0.5622, allocations: 296.4 kB / 0.5338 GB, free: 65.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005902/0.5681, allocations: 4.378 MB / 0.5381 GB, free: 61.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.5681, allocations: 27.94 kB / 0.5381 GB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.5681, allocations: 8 kB / 0.5381 GB, free: 61.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/0.5681, allocations: 11.95 kB / 0.5381 GB, free: 61.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.5793, allocations: 8.897 MB / 0.5468 GB, free: 52.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.5793, allocations: 0 / 0.5468 GB, free: 52.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.5803, allocations: 291.6 kB / 0.5471 GB, free: 51.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004494/0.5849, allocations: 1.622 MB / 0.5487 GB, free: 50.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.585, allocations: 63.92 kB / 0.5487 GB, free: 50.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01714/0.6022, allocations: 23.22 MB / 0.5714 GB, free: 25.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.6022, allocations: 0 / 0.5714 GB, free: 25.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00742/0.6096, allocations: 6.089 MB / 0.5774 GB, free: 19.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/0.611, allocations: 0.6849 MB / 0.578 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/0.6114, allocations: 52 kB / 0.5781 GB, free: 18.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.6126, allocations: 131.9 kB / 0.5782 GB, free: 18.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004312/0.613, allocations: 217.6 kB / 0.5784 GB, free: 18.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.6132, allocations: 71.98 kB / 0.5785 GB, free: 18.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002153/0.6153, allocations: 1.825 MB / 0.5803 GB, free: 16.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6153, allocations: 0 / 0.5803 GB, free: 16.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002822/0.6182, allocations: 0.9633 MB / 0.5812 GB, free: 15.48 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004974/0.6187, allocations: 242.1 kB / 0.5814 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005485/0.6242, allocations: 4.85 MB / 0.5862 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6242, allocations: 0 / 0.5862 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003635/0.6278, allocations: 3.353 MB / 0.5894 GB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/0.6313, allocations: 0.8932 MB / 0.5903 GB, free: 5.898 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.6443, allocations: 9.883 MB / 0.6 GB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/0.6472, allocations: 3.099 MB / 0.603 GB, free: 8.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/0.6479, allocations: 175.4 kB / 0.6032 GB, free: 8.699 MB / 394.7 MB Notification: Performance of SimCode: time 8.01e-07/0.6479, allocations: 0 / 0.6032 GB, free: 8.699 MB / 394.7 MB Notification: Performance of Templates: time 0.5846/1.233, allocations: 260.6 MB / 0.8577 GB, free: 164.5 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches