Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 183.5 kB / 18.04 MB, free: 3.781 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.411/1.411, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007542/0.0007542, allocations: 90.3 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 8 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.205, allocations: 47.58 MB / 377 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09906/0.3041, allocations: 92.07 MB / 469.1 MB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.3044, allocations: 87.94 kB / 469.2 MB, free: 4.363 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4425/0.747, allocations: 116 MB / 0.5715 GB, free: 44.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.747, allocations: 0 / 0.5715 GB, free: 44.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003669/0.7474, allocations: 115.8 kB / 0.5716 GB, free: 43.96 MB / 378.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.011/0.7584, allocations: 4.195 MB / 0.5757 GB, free: 39.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7585, allocations: 12.03 kB / 0.5757 GB, free: 39.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/0.7611, allocations: 0.5576 MB / 0.5762 GB, free: 39.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005897/0.767, allocations: 2.81 MB / 0.579 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.7672, allocations: 296.2 kB / 0.5793 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001077/0.7683, allocations: 388.3 kB / 0.5796 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.7788, allocations: 5.695 MB / 0.5852 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-05/0.7789, allocations: 192 / 0.5852 GB, free: 29.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005026/0.7794, allocations: 171.9 kB / 0.5854 GB, free: 29.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.7796, allocations: 208 kB / 0.5856 GB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007934/0.7875, allocations: 4.661 MB / 0.5901 GB, free: 24.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02507/0.8126, allocations: 16.46 MB / 0.6062 GB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005533/0.8182, allocations: 6.784 MB / 0.6128 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/0.822, allocations: 2.662 MB / 0.6154 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/0.8224, allocations: 166.9 kB / 0.6156 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.8225, allocations: 56.56 kB / 0.6156 GB, free: 13.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 6.111e-06/0.8225, allocations: 0 / 0.6156 GB, free: 13.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.01933/0.8418, allocations: 10.3 MB / 0.6257 GB, free: 3.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.8419, allocations: 77.42 kB / 0.6257 GB, free: 3.035 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004002/0.8459, allocations: 2.625 MB / 0.6283 GB, free: 400 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.8462, allocations: 69.7 kB / 0.6284 GB, free: 324 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.8474, allocations: 1.636 MB / 0.63 GB, free: 14.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007212/0.8481, allocations: 0.8392 MB / 0.6308 GB, free: 13.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.8482, allocations: 48 kB / 0.6308 GB, free: 13.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.8484, allocations: 406.7 kB / 0.6312 GB, free: 13.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.8505, allocations: 1.316 MB / 0.6325 GB, free: 12.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.8527, allocations: 1.621 MB / 0.6341 GB, free: 10.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004324/0.8571, allocations: 3.027 MB / 0.6371 GB, free: 7.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.8571, allocations: 0 / 0.6371 GB, free: 7.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.007516/0.8646, allocations: 4.414 MB / 0.6414 GB, free: 2.688 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.8647, allocations: 11.94 kB / 0.6414 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.8647, allocations: 8 kB / 0.6414 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003457/0.8682, allocations: 1.398 MB / 0.6427 GB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/0.8698, allocations: 391.4 kB / 0.6431 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2108/1.081, allocations: 23.47 MB / 0.666 GB, free: 63.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.083, allocations: 102.7 kB / 0.6661 GB, free: 63.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001779/1.083, allocations: 85.59 kB / 0.6662 GB, free: 63.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (196): * Single equations (assignments): 186 * 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.002141/1.085, allocations: 1.405 MB / 0.6676 GB, free: 63.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/1.086, allocations: 295.3 kB / 0.6679 GB, free: 63.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005839/1.091, allocations: 4.162 MB / 0.6719 GB, free: 63.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/1.091, allocations: 22.16 kB / 0.672 GB, free: 63.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.091, allocations: 11.38 kB / 0.672 GB, free: 63.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/1.091, allocations: 17.52 kB / 0.672 GB, free: 63.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/1.105, allocations: 8.893 MB / 0.6807 GB, free: 62.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/1.105, allocations: 0 / 0.6807 GB, free: 62.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/1.106, allocations: 293.9 kB / 0.681 GB, free: 62.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003039/1.109, allocations: 1.391 MB / 0.6823 GB, free: 62.87 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/1.109, allocations: 65.59 kB / 0.6824 GB, free: 62.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01995/1.129, allocations: 23.22 MB / 0.7051 GB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.129, allocations: 0 / 0.7051 GB, free: 46.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008604/1.138, allocations: 6.054 MB / 0.711 GB, free: 43.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/1.139, allocations: 0.6843 MB / 0.7116 GB, free: 43.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005577/1.14, allocations: 57.3 kB / 0.7117 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.141, allocations: 124.5 kB / 0.7118 GB, free: 43.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005455/1.142, allocations: 220.6 kB / 0.712 GB, free: 43.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.142, allocations: 70.2 kB / 0.7121 GB, free: 43.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002525/1.145, allocations: 1.839 MB / 0.7139 GB, free: 42.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.145, allocations: 3.25 kB / 0.7139 GB, free: 42.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003811/1.148, allocations: 0.972 MB / 0.7148 GB, free: 42.65 MB / 410.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.0006294/1.149, allocations: 251.3 kB / 0.7151 GB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006369/1.155, allocations: 4.841 MB / 0.7198 GB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.156, allocations: 0 / 0.7198 GB, free: 40.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004129/1.16, allocations: 3.353 MB / 0.7231 GB, free: 38.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/1.165, allocations: 0.9076 MB / 0.724 GB, free: 37.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/1.178, allocations: 9.922 MB / 0.7336 GB, free: 32.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002743/1.181, allocations: 3.169 MB / 0.7367 GB, free: 31.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001982/1.183, allocations: 0.5611 MB / 0.7373 GB, free: 31.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004636/1.183, allocations: 159.7 kB / 0.7374 GB, free: 31.5 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/1.183, allocations: 4 kB / 0.7374 GB, free: 31.5 MB / 410.7 MB Notification: Performance of Templates: time 0.08768/1.271, allocations: 59.07 MB / 0.7951 GB, free: 14.23 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches