Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [: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.00147/0.00147, allocations: 191.5 kB / 8.534 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.263/1.263, allocations: 225.5 MB / 234.4 MB, free: 3.426 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009108/0.0009109, allocations: 92.56 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.755e-06, allocations: 4 kB / 343.1 MB, free: 8.734 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.08587, allocations: 51.46 MB / 394.6 MB, free: 5.219 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.326, allocations: 91.07 MB / 485.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.3263, allocations: 90.44 kB / 485.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1581/0.4844, allocations: 63.02 MB / 0.5359 GB, free: 8.402 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001745/0.4847, allocations: 63.94 kB / 0.536 GB, free: 8.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00491/0.4896, allocations: 2.301 MB / 0.5382 GB, free: 5.984 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.4896, allocations: 8.031 kB / 0.5382 GB, free: 5.977 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.4909, allocations: 356.6 kB / 0.5386 GB, free: 5.621 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/0.4938, allocations: 1.58 MB / 0.5401 GB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/0.4939, allocations: 75.91 kB / 0.5402 GB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003223/0.4942, allocations: 127.9 kB / 0.5403 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003793/0.498, allocations: 2.359 MB / 0.5426 GB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004288/0.5023, allocations: 2.762 MB / 0.5453 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.5023, allocations: 3.938 kB / 0.5453 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/0.5025, allocations: 4 kB / 0.5453 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.795e-05/0.5026, allocations: 108.4 kB / 0.5454 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01271/0.5154, allocations: 8.526 MB / 0.5538 GB, free: 5.711 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.5176, allocations: 1.677 MB / 0.5554 GB, free: 4.023 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.5194, allocations: 1.42 MB / 0.5568 GB, free: 2.609 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.5197, allocations: 134.4 kB / 0.5569 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.5198, allocations: 47.88 kB / 0.557 GB, free: 2.402 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 3.186e-06/0.5198, allocations: 0 / 0.557 GB, free: 2.402 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.006931/0.5267, allocations: 4.033 MB / 0.5609 GB, free: 14.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.5268, allocations: 64.72 kB / 0.561 GB, free: 14.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5283, allocations: 1.077 MB / 0.562 GB, free: 13.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.5283, allocations: 29.7 kB / 0.562 GB, free: 13.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.5287, allocations: 0.7637 MB / 0.5628 GB, free: 12.33 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.529, allocations: 425.6 kB / 0.5632 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.937e-05/0.5291, allocations: 0 / 0.5632 GB, free: 11.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.5292, allocations: 353.9 kB / 0.5635 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008892/0.5301, allocations: 0.678 MB / 0.5642 GB, free: 10.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009699/0.5311, allocations: 0.8323 MB / 0.565 GB, free: 9.996 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.5322, allocations: 0.8026 MB / 0.5658 GB, free: 9.195 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.5322, allocations: 3.906 kB / 0.5658 GB, free: 9.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003549/0.5358, allocations: 2.194 MB / 0.5679 GB, free: 6.977 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5358, allocations: 8 kB / 0.5679 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5358, allocations: 0 / 0.5679 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.5376, allocations: 0.7059 MB / 0.5686 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009518/0.5386, allocations: 219.7 kB / 0.5688 GB, free: 6.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1387/0.6772, allocations: 9.795 MB / 0.5784 GB, free: 133.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6784, allocations: 18.98 kB / 0.5784 GB, free: 133.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-05/0.6785, allocations: 44.28 kB / 0.5785 GB, free: 133.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.6787, allocations: 130.2 kB / 0.5786 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002424/0.679, allocations: 141.7 kB / 0.5787 GB, free: 133.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.6818, allocations: 2.068 MB / 0.5807 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6819, allocations: 17.84 kB / 0.5808 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6819, allocations: 3.938 kB / 0.5808 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.6819, allocations: 3.797 kB / 0.5808 GB, free: 133 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.6876, allocations: 4.282 MB / 0.5849 GB, free: 132.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.6876, allocations: 2.844 kB / 0.585 GB, free: 132.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007574/0.6884, allocations: 169 kB / 0.5851 GB, free: 132.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001517/0.6899, allocations: 0.695 MB / 0.5858 GB, free: 132.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.69, allocations: 17.33 kB / 0.5858 GB, free: 132.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008299/0.6983, allocations: 9.78 MB / 0.5954 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6983, allocations: 1.875 kB / 0.5954 GB, free: 127.6 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004064/0.7024, allocations: 3.193 MB / 0.5985 GB, free: 127.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/0.7031, allocations: 387.2 kB / 0.5988 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.7033, allocations: 14.66 kB / 0.5989 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007308/0.7041, allocations: 46.48 kB / 0.5989 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.7043, allocations: 82.14 kB / 0.599 GB, free: 127.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.7043, allocations: 41.2 kB / 0.599 GB, free: 127.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.000962/0.7053, allocations: 0.8281 MB / 0.5998 GB, free: 127 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001518/0.7068, allocations: 468.4 kB / 0.6003 GB, free: 127 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003068/0.7071, allocations: 185.6 kB / 0.6005 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002653/0.7098, allocations: 2.199 MB / 0.6026 GB, free: 126.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7098, allocations: 0 / 0.6026 GB, free: 126.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.7115, allocations: 1.442 MB / 0.604 GB, free: 126.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.7129, allocations: 315.2 kB / 0.6043 GB, free: 126.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0067/0.7196, allocations: 3.738 MB / 0.608 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/0.7212, allocations: 2.127 MB / 0.61 GB, free: 124.6 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7212, allocations: 3.406 kB / 0.61 GB, free: 124.6 MB / 442.7 MB Notification: Performance of Templates: time 0.0359/0.7571, allocations: 24.83 MB / 0.6343 GB, free: 123.8 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches