Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001689/0.001689, allocations: 205.6 kB / 8.54 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 225.5 MB / 234.4 MB, free: 3.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008634/0.0008635, allocations: 98.03 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.562e-06, allocations: 0 / 343.1 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09214, allocations: 51.47 MB / 394.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2538/0.346, allocations: 92.67 MB / 487.3 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.3463, allocations: 83.67 kB / 487.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.4489/0.7952, allocations: 115.7 MB / 0.5889 GB, free: 60.08 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003684/0.7956, allocations: 106.7 kB / 0.589 GB, free: 60.07 MB / 442.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.009094/0.8047, allocations: 3.882 MB / 0.5928 GB, free: 58.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.8048, allocations: 7.875 kB / 0.5928 GB, free: 58.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.8075, allocations: 0.5963 MB / 0.5934 GB, free: 58.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005943/0.8134, allocations: 2.747 MB / 0.5961 GB, free: 58.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.8136, allocations: 124 kB / 0.5962 GB, free: 58.02 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/0.8149, allocations: 236.6 kB / 0.5964 GB, free: 58.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008868/0.8238, allocations: 4.371 MB / 0.6007 GB, free: 57.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.8356, allocations: 5.058 MB / 0.6056 GB, free: 57.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001265/0.8358, allocations: 7.375 kB / 0.6056 GB, free: 57.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009324/0.8367, allocations: 3.438 kB / 0.6056 GB, free: 57.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001664/0.8369, allocations: 210 kB / 0.6058 GB, free: 57.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02819/0.8651, allocations: 15.78 MB / 0.6212 GB, free: 54.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004784/0.8699, allocations: 3.35 MB / 0.6245 GB, free: 54.59 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003713/0.8736, allocations: 2.791 MB / 0.6272 GB, free: 54.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003877/0.8741, allocations: 152.5 kB / 0.6274 GB, free: 54.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.8741, allocations: 63.88 kB / 0.6274 GB, free: 54.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 7.394e-06/0.8741, allocations: 0 / 0.6274 GB, free: 54.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.015/0.8892, allocations: 7.602 MB / 0.6349 GB, free: 51.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.8892, allocations: 78.45 kB / 0.6349 GB, free: 51.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/0.893, allocations: 1.85 MB / 0.6367 GB, free: 50.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.8933, allocations: 25.7 kB / 0.6368 GB, free: 50.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007116/0.894, allocations: 1.301 MB / 0.638 GB, free: 49.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006861/0.8947, allocations: 0.8059 MB / 0.6388 GB, free: 48.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.8949, allocations: 0 / 0.6388 GB, free: 48.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.895, allocations: 406.1 kB / 0.6392 GB, free: 48.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.8967, allocations: 1.318 MB / 0.6405 GB, free: 47.92 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.8985, allocations: 1.589 MB / 0.642 GB, free: 47.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.9006, allocations: 1.569 MB / 0.6436 GB, free: 46.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.9006, allocations: 3.906 kB / 0.6436 GB, free: 46.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006935/0.9076, allocations: 4.235 MB / 0.6477 GB, free: 45.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.9076, allocations: 4.531 kB / 0.6477 GB, free: 45.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.9076, allocations: 6.25 kB / 0.6477 GB, free: 45.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003701/0.9113, allocations: 1.421 MB / 0.6491 GB, free: 44.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/0.9134, allocations: 399.1 kB / 0.6495 GB, free: 44.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.9332, allocations: 21.93 MB / 0.6709 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/0.9354, allocations: 37.19 kB / 0.6709 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004961/0.9359, allocations: 86.75 kB / 0.671 GB, free: 28.07 MB / 442.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 () * 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.0007539/0.9367, allocations: 142.9 kB / 0.6712 GB, free: 27.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008861/0.9376, allocations: 260.2 kB / 0.6714 GB, free: 27.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007277/0.9449, allocations: 4.01 MB / 0.6753 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/0.9449, allocations: 24.44 kB / 0.6753 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-05/0.945, allocations: 10.06 kB / 0.6754 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/0.945, allocations: 14.92 kB / 0.6754 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.9601, allocations: 8.056 MB / 0.6832 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.9601, allocations: 0 / 0.6832 GB, free: 23.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001467/0.9616, allocations: 310.9 kB / 0.6835 GB, free: 23.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/0.9651, allocations: 1.396 MB / 0.6849 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002245/0.9653, allocations: 25.41 kB / 0.6849 GB, free: 22.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01926/0.9846, allocations: 21.9 MB / 0.7063 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.9847, allocations: 3.938 kB / 0.7063 GB, free: 22.26 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008829/0.9935, allocations: 6.109 MB / 0.7123 GB, free: 19.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00164/0.9952, allocations: 0.6463 MB / 0.7129 GB, free: 19.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007998/0.996, allocations: 15.66 kB / 0.7129 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.9977, allocations: 80.08 kB / 0.713 GB, free: 19.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000333/0.9981, allocations: 151 kB / 0.7132 GB, free: 19.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001908/0.9983, allocations: 72.84 kB / 0.7132 GB, free: 19.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.002392/1.001, allocations: 1.419 MB / 0.7146 GB, free: 18.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003859/1.005, allocations: 0.8322 MB / 0.7154 GB, free: 18.77 MB / 458.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 () * 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.0005512/1.005, allocations: 225.4 kB / 0.7156 GB, free: 18.65 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006504/1.012, allocations: 4.472 MB / 0.72 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.012, allocations: 0 / 0.72 GB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004402/1.016, allocations: 2.993 MB / 0.7229 GB, free: 13.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/1.02, allocations: 0.589 MB / 0.7235 GB, free: 12.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/1.036, allocations: 7.021 MB / 0.7304 GB, free: 6.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004993/1.041, allocations: 3.344 MB / 0.7336 GB, free: 3.887 MB / 458.7 MB Notification: Performance of SimCode: time 8.72e-07/1.041, allocations: 0 / 0.7336 GB, free: 3.887 MB / 458.7 MB Notification: Performance of Templates: time 0.227/1.268, allocations: 47.2 MB / 0.7797 GB, free: 107.3 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches